Skip to content

Commit

Permalink
to 2.5.2
Browse files Browse the repository at this point in the history
  • Loading branch information
iXanadu13 committed Apr 29, 2024
1 parent 894caaa commit af65723
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ public static ItemStack readFromAdvData(ConfigurationSection section, String pat
if (Version.isNBT_UPDATE()){
throw new UnsupportedOperationException(
"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."
);
}
Expand Down Expand Up @@ -225,7 +225,7 @@ public static ItemStack readFromNBT(ConfigurationSection section, String path){
if (Version.isNBT_UPDATE()){
throw new UnsupportedOperationException(
"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."
);
}
Expand Down
2 changes: 2 additions & 0 deletions src/main/java/pers/xanadu/enderdragon/util/UpdateChecker.java
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@

public final class UpdateChecker {
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);
new BukkitRunnable(){
@Override
Expand Down

0 comments on commit af65723

Please sign in to comment.