From d2053ff4b7cfc4cc2497498b766c8c08cf010aa5 Mon Sep 17 00:00:00 2001 From: Sam Date: Fri, 30 Mar 2018 20:37:37 +0100 Subject: [PATCH] Rabbits are not villagers --- .../src/mineplex/core/disguise/disguises/DisguiseRabbit.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Plugins/Mineplex.Core/src/mineplex/core/disguise/disguises/DisguiseRabbit.java b/Plugins/Mineplex.Core/src/mineplex/core/disguise/disguises/DisguiseRabbit.java index f798ec2a3..0890effe6 100644 --- a/Plugins/Mineplex.Core/src/mineplex/core/disguise/disguises/DisguiseRabbit.java +++ b/Plugins/Mineplex.Core/src/mineplex/core/disguise/disguises/DisguiseRabbit.java @@ -1,7 +1,6 @@ package mineplex.core.disguise.disguises; import net.minecraft.server.v1_8_R3.EntityRabbit; -import net.minecraft.server.v1_8_R3.EntityVillager; import net.minecraft.server.v1_8_R3.MathHelper; import net.minecraft.server.v1_8_R3.Packet; import net.minecraft.server.v1_8_R3.PacketPlayOutSpawnEntityLiving; @@ -27,7 +26,7 @@ public class DisguiseRabbit extends DisguiseAnimal _type = type; int id = type.ordinal(); - DataWatcher.watch(18, id, EntityVillager.META_TYPE, id); + DataWatcher.watch(18, id, EntityRabbit.META_TYPE, id); } public Type getType()