From bf1945bcfd67a1f899dbac282820a7b90c526277 Mon Sep 17 00:00:00 2001 From: CraftBukkit/Spigot Date: Sun, 12 Jun 2016 10:14:25 +1000 Subject: [PATCH] SPIGOT-2389: Zombie.setVillager inverted By: md_5 --- .../main/java/org/bukkit/craftbukkit/entity/CraftZombie.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paper-server/src/main/java/org/bukkit/craftbukkit/entity/CraftZombie.java b/paper-server/src/main/java/org/bukkit/craftbukkit/entity/CraftZombie.java index ebae86f152..6ec924b152 100644 --- a/paper-server/src/main/java/org/bukkit/craftbukkit/entity/CraftZombie.java +++ b/paper-server/src/main/java/org/bukkit/craftbukkit/entity/CraftZombie.java @@ -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