From 5703d5995d97b541376825c48cc45e67daa10188 Mon Sep 17 00:00:00 2001 From: libraryaddict Date: Sat, 12 Jul 2014 07:06:23 +1200 Subject: [PATCH] Fix isAgressive in enderman watcher --- .../disguise/disguisetypes/watchers/EndermanWatcher.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/me/libraryaddict/disguise/disguisetypes/watchers/EndermanWatcher.java b/src/me/libraryaddict/disguise/disguisetypes/watchers/EndermanWatcher.java index dcccd618..0fb3a638 100644 --- a/src/me/libraryaddict/disguise/disguisetypes/watchers/EndermanWatcher.java +++ b/src/me/libraryaddict/disguise/disguisetypes/watchers/EndermanWatcher.java @@ -16,7 +16,7 @@ public class EndermanWatcher extends LivingWatcher { } public boolean isAgressive() { - return (Integer) getValue(18, (byte) 0) == 1; + return (Byte) getValue(18, (byte) 0) == 1; } public void setAgressive(boolean isAgressive) {