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