mirror of
https://github.com/PaperMC/Paper.git
synced 2026-11-25 10:29:41 -05:00
SPIGOT-2389: Zombie.setVillager inverted
This commit is contained in:
1 parent
fa83b1b80c
commit
1c2593826c
1 file changed
+1
-1
@@ -41,7 +41,7 @@ public class CraftZombie extends CraftMonster implements Zombie {
|
||||
}
|
||||
|
||||
public void setVillager(boolean flag) {
|
||||
getHandle().setVillagerType(flag ? EnumZombieType.NORMAL : EnumZombieType.VILLAGER_FARMER);
|
||||
getHandle().setVillagerType(flag ? EnumZombieType.VILLAGER_FARMER : EnumZombieType.NORMAL);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in new issue
Block a user