This commit is contained in:
Xanadu13
2024-04-29 16:12:00 +08:00
parent 894caaa20c
commit af65723e35
2 changed files with 4 additions and 2 deletions
@@ -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