SPIGOT-2908: Correctly spawn LlamaSpit

By: md_5 <git@md-5.net>
This commit is contained in:
CraftBukkit/Spigot 2016-12-10 12:10:28 +11:00
parent 05fbc8df18
commit b4a50e447b

View File

@ -946,7 +946,7 @@ public class CraftWorld implements World {
entity = new EntityShulkerBullet(world);
entity.setPositionRotation(x, y, z, yaw, pitch);
} else if (LlamaSpit.class.isAssignableFrom(clazz)) {
entity = new EntityLlama(world);
entity = new EntityLlamaSpit(world);
entity.setPositionRotation(x, y, z, yaw, pitch);
}
} else if (Minecart.class.isAssignableFrom(clazz)) {