Rabbits are not villagers
This commit is contained in:
parent
046fc30e0e
commit
d2053ff4b7
@ -1,7 +1,6 @@
|
|||||||
package mineplex.core.disguise.disguises;
|
package mineplex.core.disguise.disguises;
|
||||||
|
|
||||||
import net.minecraft.server.v1_8_R3.EntityRabbit;
|
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.MathHelper;
|
||||||
import net.minecraft.server.v1_8_R3.Packet;
|
import net.minecraft.server.v1_8_R3.Packet;
|
||||||
import net.minecraft.server.v1_8_R3.PacketPlayOutSpawnEntityLiving;
|
import net.minecraft.server.v1_8_R3.PacketPlayOutSpawnEntityLiving;
|
||||||
@ -27,7 +26,7 @@ public class DisguiseRabbit extends DisguiseAnimal
|
|||||||
_type = type;
|
_type = type;
|
||||||
|
|
||||||
int id = type.ordinal();
|
int id = type.ordinal();
|
||||||
DataWatcher.watch(18, id, EntityVillager.META_TYPE, id);
|
DataWatcher.watch(18, id, EntityRabbit.META_TYPE, id);
|
||||||
}
|
}
|
||||||
|
|
||||||
public Type getType()
|
public Type getType()
|
||||||
|
Loading…
Reference in New Issue
Block a user