Think I fixed wither skull not being blue

This commit is contained in:
Andrew 2013-11-06 19:56:53 +13:00
parent f5355bfc98
commit f5c9d4e29e

View File

@ -10,12 +10,12 @@ public class WitherSkullWatcher extends FlagWatcher {
}
public boolean isBlue() {
return (Byte) getValue(0, (byte) 0) == 1;
return (Byte) getValue(10, (byte) 0) == 1;
}
public void setBlue(boolean blue) {
setValue(0, (byte) (blue ? 1 : 0));
sendData(0);
setValue(10, (byte) (blue ? 1 : 0));
sendData(10);
}
}