to 2.5.2
This commit is contained in:
@@ -98,7 +98,7 @@ public class ItemManager {
|
|||||||
if (Version.isNBT_UPDATE()){
|
if (Version.isNBT_UPDATE()){
|
||||||
throw new UnsupportedOperationException(
|
throw new UnsupportedOperationException(
|
||||||
"I'm sorry that data_type 'nbt' and 'advanced' have been temporarily disabled since 1.20.5.\n"+
|
"I'm sorry that data_type 'nbt' and 'advanced' have been temporarily disabled since 1.20.5.\n"+
|
||||||
"You can migrate configurations through '/ed migrate' EnderDragon v2.5.1.\n"+
|
"You can migrate configurations through '/ed migrate' in EnderDragon v2.5.1.\n"+
|
||||||
"I will reconstruct this plugin add restore this function in the future."
|
"I will reconstruct this plugin add restore this function in the future."
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
@@ -225,7 +225,7 @@ public class ItemManager {
|
|||||||
if (Version.isNBT_UPDATE()){
|
if (Version.isNBT_UPDATE()){
|
||||||
throw new UnsupportedOperationException(
|
throw new UnsupportedOperationException(
|
||||||
"I'm sorry that data_type 'nbt' and 'advanced' have been temporarily disabled since 1.20.5.\n"+
|
"I'm sorry that data_type 'nbt' and 'advanced' have been temporarily disabled since 1.20.5.\n"+
|
||||||
"You can migrate configurations through '/ed migrate' EnderDragon v2.5.1.\n"+
|
"You can migrate configurations through '/ed migrate' in EnderDragon v2.5.1.\n"+
|
||||||
"I will reconstruct this plugin add restore this function in the future."
|
"I will reconstruct this plugin add restore this function in the future."
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -14,6 +14,8 @@ import java.net.URLConnection;
|
|||||||
|
|
||||||
public final class UpdateChecker {
|
public final class UpdateChecker {
|
||||||
public static void checkUpdate(){
|
public static void checkUpdate(){
|
||||||
|
// https://github.com/iXanadu13/EnderDragon/issues/17
|
||||||
|
if (EnderDragon.plugin.getConfig().getBoolean("skip_update_check")) return;
|
||||||
Lang.info(Lang.plugin_checking_update);
|
Lang.info(Lang.plugin_checking_update);
|
||||||
new BukkitRunnable(){
|
new BukkitRunnable(){
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
Reference in New Issue
Block a user