@SuperSpyTX slaps @h31ix around a bit with a large trout until he dies. Fixes a issue breaking other plugins from starting up properly if running on outdated Bukkit version.

This commit is contained in:
SuPaH sPii committed 2012-12-22 01:28:02 -06:00
1 parent bbb003c5d4
commit a0f958c783
1 file changed
+1 -1
@@ -93,7 +93,7 @@ public class Anticheat extends JavaPlugin {
config.saveLevel(user.getName(), user.getLevel()); config.saveLevel(user.getName(), user.getLevel());
} }
config.saveLevels(); config.saveLevels();
getServer().getScheduler().cancelAllTasks(); getServer().getScheduler().cancelTasks(this);
cleanup(); cleanup();
} }