From 16a292dc6c9a1b9d352d4317b574f599ab004262 Mon Sep 17 00:00:00 2001 From: Shevchik Date: Sat, 14 Dec 2013 21:01:32 +0400 Subject: [PATCH] Null loaded class on disable so plugin can be reloaded at least partially --- src/com/cnaude/chairs/Chairs.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/cnaude/chairs/Chairs.java b/src/com/cnaude/chairs/Chairs.java index 85195d7..ee3cf95 100644 --- a/src/com/cnaude/chairs/Chairs.java +++ b/src/com/cnaude/chairs/Chairs.java @@ -92,8 +92,8 @@ public class Chairs extends JavaPlugin { if (chairEffects != null) { chairEffects.cancel(); } - HandlerList.unregisterAll(this); log = null; + vehiclearrowclass = null; } public void restartEffectsTask() {