Elder guardian gets to set the byte value

This commit is contained in:
libraryaddict 2014-10-01 15:20:42 +13:00
parent a253db5ae2
commit 02745fc88c

View file

@ -99,6 +99,10 @@ public abstract class Disguise {
else if (getType() == DisguiseType.ZOMBIE_VILLAGER) { else if (getType() == DisguiseType.ZOMBIE_VILLAGER) {
getWatcher().setValue(13, (byte) 1); getWatcher().setValue(13, (byte) 1);
} }
else if (getType() == DisguiseType.ELDER_GUARDIAN) {
getWatcher().setValue(14, 0 | 4);
}
// Else if its a horse. Set the horse watcher type // Else if its a horse. Set the horse watcher type
else if (getWatcher() instanceof HorseWatcher) { else if (getWatcher() instanceof HorseWatcher) {
try { try {