SPIGOT-2389: Zombie.setVillager inverted

By: md_5 <git@md-5.net>
This commit is contained in:
CraftBukkit/Spigot 2016-06-12 10:14:25 +10:00
parent 6b0f3ef039
commit bf1945bcfd

View file

@ -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