Null loaded class on disable so plugin can be reloaded at least partially

This commit is contained in:
Shevchik 2013-12-14 21:01:32 +04:00
parent 5e5ca198df
commit 16a292dc6c

View File

@ -92,8 +92,8 @@ public class Chairs extends JavaPlugin {
if (chairEffects != null) { if (chairEffects != null) {
chairEffects.cancel(); chairEffects.cancel();
} }
HandlerList.unregisterAll(this);
log = null; log = null;
vehiclearrowclass = null;
} }
public void restartEffectsTask() { public void restartEffectsTask() {