From 0ab5500e037bf7808b4fdd2e0c76e4d78aaa9a0b Mon Sep 17 00:00:00 2001 From: Andrew Date: Tue, 19 Nov 2013 01:31:00 +1300 Subject: [PATCH] Fixed arrow being mislabelled as moving when its criticial. --- .../disguise/disguisetypes/watchers/ArrowWatcher.java | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/me/libraryaddict/disguise/disguisetypes/watchers/ArrowWatcher.java b/src/me/libraryaddict/disguise/disguisetypes/watchers/ArrowWatcher.java index 8cc8d4b7..0a836d1c 100644 --- a/src/me/libraryaddict/disguise/disguisetypes/watchers/ArrowWatcher.java +++ b/src/me/libraryaddict/disguise/disguisetypes/watchers/ArrowWatcher.java @@ -7,15 +7,14 @@ public class ArrowWatcher extends FlagWatcher { public ArrowWatcher(Disguise disguise) { super(disguise); - setValue(16, (byte) 0); } - public boolean isMoving() { + public boolean isCritical() { return (Byte) getValue(16, (byte) 0) == 1; } - public void setMoving(boolean moving) { - setValue(16, (byte) (moving ? 1 : 0)); + public void setCritical(boolean critical) { + setValue(16, (byte) (critical ? 1 : 0)); sendData(16); }