Fixed NameAboveHeadVisible

This commit is contained in:
NavidK0 2016-03-13 19:53:37 -04:00
parent 8eb4beba83
commit e95df4a2df

View File

@ -200,7 +200,7 @@ public class FlagWatcher {
}
public boolean isCustomNameVisible() {
return (byte) getValue(3, (byte) 0) == 1;
return (boolean) getValue(3, false);
}
public boolean isEntityAnimationsAdded() {
@ -310,7 +310,7 @@ public class FlagWatcher {
}
public void setCustomNameVisible(boolean display) {
setValue(3, (byte) (display ? 1 : 0));
setValue(3, display);
sendData(3);
}