Fixed spelling in GhastWatcher
This commit is contained in:
parent
42cac092f6
commit
3ab4706af3
@ -8,13 +8,24 @@ public class GhastWatcher extends LivingWatcher {
|
|||||||
super(disguise);
|
super(disguise);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Deprecated
|
||||||
public boolean isAgressive() {
|
public boolean isAgressive() {
|
||||||
return (Byte) getValue(16, (byte) 0) == 1;
|
return (Byte) getValue(16, (byte) 0) == 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Deprecated
|
||||||
public void setAgressive(boolean isAgressive) {
|
public void setAgressive(boolean isAgressive) {
|
||||||
setValue(16, (byte) (isAgressive ? 1 : 0));
|
setValue(16, (byte) (isAgressive ? 1 : 0));
|
||||||
sendData(16);
|
sendData(16);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public boolean isAggressive() {
|
||||||
|
return (Byte) getValue(16, (byte) 0) == 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setAggressive(boolean isAgressive) {
|
||||||
|
setValue(16, (byte) (isAgressive ? 1 : 0));
|
||||||
|
sendData(16);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user