mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-15 12:13:54 -07:00
Implement API for Skeleton and Zombie types. Fixes BUKKIT-2818
This commit is contained in:
committed by
Travis Watkins
parent
dca54ff187
commit
bd0868ae1e
@@ -61,7 +61,7 @@ public class EntityZombie extends EntityMonster {
|
||||
}
|
||||
|
||||
public void setBaby(boolean flag) {
|
||||
this.getDataWatcher().watch(12, Byte.valueOf((byte) 1));
|
||||
this.getDataWatcher().watch(12, Byte.valueOf((byte) (flag ? 1 : 0))); // CraftBukkit - added flag
|
||||
}
|
||||
|
||||
public boolean isVillager() {
|
||||
|
Reference in New Issue
Block a user