From 6f65448d6e0de0dea7a17087390dd16a73dfcc0d Mon Sep 17 00:00:00 2001 From: libraryaddict Date: Mon, 14 Jul 2014 13:14:21 +1200 Subject: [PATCH] WitchWatcher has no noticable changes --- .../disguisetypes/watchers/GhastWatcher.java | 4 ++-- .../disguisetypes/watchers/WitchWatcher.java | 20 ------------------- 2 files changed, 2 insertions(+), 22 deletions(-) delete mode 100644 src/me/libraryaddict/disguise/disguisetypes/watchers/WitchWatcher.java diff --git a/src/me/libraryaddict/disguise/disguisetypes/watchers/GhastWatcher.java b/src/me/libraryaddict/disguise/disguisetypes/watchers/GhastWatcher.java index 5d11ba9d..52e7a748 100644 --- a/src/me/libraryaddict/disguise/disguisetypes/watchers/GhastWatcher.java +++ b/src/me/libraryaddict/disguise/disguisetypes/watchers/GhastWatcher.java @@ -12,8 +12,8 @@ public class GhastWatcher extends LivingWatcher { return (Byte) getValue(16, (byte) 0) == 1; } - public void setAggressive(boolean isAgressive) { - setValue(16, (byte) (isAgressive ? 1 : 0)); + public void setAggressive(boolean isAggressive) { + setValue(16, (byte) (isAggressive ? 1 : 0)); sendData(16); } diff --git a/src/me/libraryaddict/disguise/disguisetypes/watchers/WitchWatcher.java b/src/me/libraryaddict/disguise/disguisetypes/watchers/WitchWatcher.java deleted file mode 100644 index 0adb2a32..00000000 --- a/src/me/libraryaddict/disguise/disguisetypes/watchers/WitchWatcher.java +++ /dev/null @@ -1,20 +0,0 @@ -package me.libraryaddict.disguise.disguisetypes.watchers; - -import me.libraryaddict.disguise.disguisetypes.Disguise; - -public class WitchWatcher extends LivingWatcher { - - public WitchWatcher(Disguise disguise) { - super(disguise); - } - - public boolean isAggressive() { - return (Byte) getValue(21, (byte) 0) == 1; - } - - public void setAggressive(boolean isTrue) { - setValue(21, (byte) (isTrue ? 1 : 0)); - sendData(21); - } - -}