Fixed arrow being mislabelled as moving when its criticial.

This commit is contained in:
Andrew 2013-11-19 01:31:00 +13:00
parent 513b9bdf8f
commit 0ab5500e03

View File

@ -7,15 +7,14 @@ public class ArrowWatcher extends FlagWatcher {
public ArrowWatcher(Disguise disguise) { public ArrowWatcher(Disguise disguise) {
super(disguise); super(disguise);
setValue(16, (byte) 0);
} }
public boolean isMoving() { public boolean isCritical() {
return (Byte) getValue(16, (byte) 0) == 1; return (Byte) getValue(16, (byte) 0) == 1;
} }
public void setMoving(boolean moving) { public void setCritical(boolean critical) {
setValue(16, (byte) (moving ? 1 : 0)); setValue(16, (byte) (critical ? 1 : 0));
sendData(16); sendData(16);
} }