mirror of
https://github.com/libraryaddict/LibsDisguises.git
synced 2024-11-05 09:09:40 +01:00
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) {
|
||||
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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user