mirror of
https://github.com/libraryaddict/LibsDisguises.git
synced 2025-02-16 01:41:28 +01:00
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