mirror of
https://github.com/libraryaddict/LibsDisguises.git
synced 2024-11-04 08:59:47 +01:00
Fixed Horse options
This commit is contained in:
parent
effb4058db
commit
351234591f
@ -118,9 +118,9 @@ public class HorseWatcher extends AgeableWatcher {
|
|||||||
private void setHorseFlag(int i, boolean flag) {
|
private void setHorseFlag(int i, boolean flag) {
|
||||||
byte j = (byte) getValue(12, (byte) 0);
|
byte j = (byte) getValue(12, (byte) 0);
|
||||||
if (flag) {
|
if (flag) {
|
||||||
setValue(12, j | i);
|
setValue(12, (byte) (j | i));
|
||||||
} else {
|
} else {
|
||||||
setValue(12, j & ~i);
|
setValue(12, (byte) (j & ~i));
|
||||||
}
|
}
|
||||||
sendData(12);
|
sendData(12);
|
||||||
}
|
}
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
name: LibsDisguises
|
name: LibsDisguises
|
||||||
main: me.libraryaddict.disguise.LibsDisguises
|
main: me.libraryaddict.disguise.LibsDisguises
|
||||||
description: A disguise plugin with various disguises.
|
description: A disguise plugin with various disguises.
|
||||||
version: 9.0.1
|
version: 9.0.2
|
||||||
author: libraryaddict
|
author: libraryaddict
|
||||||
authors: [Byteflux, Navid K.]
|
authors: [Byteflux, Navid K.]
|
||||||
softdepend: [ProtocolLib]
|
softdepend: [ProtocolLib]
|
||||||
|
Loading…
Reference in New Issue
Block a user