mirror of
https://github.com/PaperMC/Paper.git
synced 2025-03-15 12:02:49 +01:00
SPIGOT-2389: Zombie.setVillager inverted
This commit is contained in:
parent
fa83b1b80c
commit
1c2593826c
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue