diff --git a/src/net/spoothie/chairs/Chairs.java b/src/net/spoothie/chairs/Chairs.java index 8f5a860..6283027 100644 --- a/src/net/spoothie/chairs/Chairs.java +++ b/src/net/spoothie/chairs/Chairs.java @@ -74,7 +74,9 @@ public class Chairs extends JavaPlugin { @Override public void onDisable() { - ignoreList.save(); + if (ignoreList != null) { + ignoreList.save(); + } if (chairEffects != null) { chairEffects.cancel(); }