diff --git a/src/me/ryanhamshire/GriefPrevention/GriefPrevention.java b/src/me/ryanhamshire/GriefPrevention/GriefPrevention.java index 5fe1a9f..cfe4af5 100644 --- a/src/me/ryanhamshire/GriefPrevention/GriefPrevention.java +++ b/src/me/ryanhamshire/GriefPrevention/GriefPrevention.java @@ -779,7 +779,7 @@ public class GriefPrevention extends JavaPlugin this.getLogger().severe("If you are on a shared host, tell your hosting provider to update, as Java 7 is End of Life."); this.getLogger().severe("If they refuse, I'd suggesting switching to a more secure and responsive host."); this.getLogger().severe("But if you truly have absolutely no choice, then please download the Java 7 version of GriefPrevention."); - this.onDisable(); + getServer().getPluginManager().disablePlugin(this); return; }