Don't try to use the watcher if the watcher doesnt exist
This commit is contained in:
parent
bc08c933ca
commit
dbffa801c7
@ -130,6 +130,8 @@ public class FlagWatcher {
|
|||||||
}
|
}
|
||||||
|
|
||||||
protected void sendData(int data) {
|
protected void sendData(int data) {
|
||||||
|
if (disguise.getWatcher() == null)
|
||||||
|
return;
|
||||||
Entity entity = disguise.getEntity();
|
Entity entity = disguise.getEntity();
|
||||||
Object value = entityValues.get(data);
|
Object value = entityValues.get(data);
|
||||||
List<WatchableObject> list = new ArrayList<WatchableObject>();
|
List<WatchableObject> list = new ArrayList<WatchableObject>();
|
||||||
|
Loading…
Reference in New Issue
Block a user