mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-09 19:49:35 +01:00
SPIGOT-2389: Zombie.setVillager inverted
By: md_5 <git@md-5.net>
This commit is contained in:
parent
6b0f3ef039
commit
bf1945bcfd
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…
Reference in a new issue