Fixed arrow being mislabelled as moving when its criticial.
This commit is contained in:
parent
513b9bdf8f
commit
0ab5500e03
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user