Deprecated isFused and setFused as they are the same as isIgnited and setIgnited

This commit is contained in:
libraryaddict 2013-12-08 17:34:30 +13:00
parent 585f8ad116
commit 8dd604153e

View File

@ -8,6 +8,7 @@ public class CreeperWatcher extends LivingWatcher {
super(disguise); super(disguise);
} }
@Deprecated
public boolean isFused() { public boolean isFused() {
return (Byte) getValue(16, (byte) 0) == 1; return (Byte) getValue(16, (byte) 0) == 1;
} }
@ -26,6 +27,7 @@ public class CreeperWatcher extends LivingWatcher {
sendData(16); sendData(16);
} }
@Deprecated
public void setFused(boolean isFused) { public void setFused(boolean isFused) {
setValue(16, (byte) (isFused ? 1 : -1)); setValue(16, (byte) (isFused ? 1 : -1));
sendData(16); sendData(16);