diff --git a/src/main/java/pw/kaboom/extras/Main.java b/src/main/java/pw/kaboom/extras/Main.java index c68458b..ce7f5cf 100644 --- a/src/main/java/pw/kaboom/extras/Main.java +++ b/src/main/java/pw/kaboom/extras/Main.java @@ -108,14 +108,4 @@ public final class Main extends JavaPlugin { new WorldCreator("world_flatlands").generateStructures(false).type(WorldType.FLAT) ); } - - @Override - public void onDisable() { - if (Bukkit.isStopping()) { - /* This should never be done in a critical environment, as it can lead to data corruption. - We are not too concerned with data corruption, as the server resets daily. In our case, it's - more important to ensure that the server never hangs. */ - Runtime.getRuntime().halt(0); - } - } }