Rabbits are not villagers

This commit is contained in:
Sam 2018-03-30 20:37:37 +01:00 committed by Alexander Meech
parent 046fc30e0e
commit d2053ff4b7

View File

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