From 4144e06170053429cba0f9c051a5150a1a51d264 Mon Sep 17 00:00:00 2001 From: cnaude Date: Sat, 30 Mar 2013 10:23:18 -0700 Subject: [PATCH] Remove CraftBukkit dependency. Add ProtocolLib dependency. --- src/net/spoothie/chairs/Chairs.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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(); }