From dbffa801c7592c153b3dd2373ce55c839560bbc6 Mon Sep 17 00:00:00 2001 From: Andrew Date: Tue, 23 Jul 2013 06:38:29 +1200 Subject: [PATCH] Don't try to use the watcher if the watcher doesnt exist --- src/me/libraryaddict/disguise/DisguiseTypes/FlagWatcher.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/me/libraryaddict/disguise/DisguiseTypes/FlagWatcher.java b/src/me/libraryaddict/disguise/DisguiseTypes/FlagWatcher.java index 6a889031..fc380f96 100644 --- a/src/me/libraryaddict/disguise/DisguiseTypes/FlagWatcher.java +++ b/src/me/libraryaddict/disguise/DisguiseTypes/FlagWatcher.java @@ -130,6 +130,8 @@ public class FlagWatcher { } protected void sendData(int data) { + if (disguise.getWatcher() == null) + return; Entity entity = disguise.getEntity(); Object value = entityValues.get(data); List list = new ArrayList();