mirror of
https://hub.spigotmc.org/stash/scm/spigot/craftbukkit.git
synced 2025-08-29 20:28:29 +00:00
SPIGOT-2908: Correctly spawn LlamaSpit
This commit is contained in:
parent
622630c823
commit
03c4bf2244
1 changed files with 1 additions and 1 deletions
|
@ -946,7 +946,7 @@ public class CraftWorld implements World {
|
||||||
entity = new EntityShulkerBullet(world);
|
entity = new EntityShulkerBullet(world);
|
||||||
entity.setPositionRotation(x, y, z, yaw, pitch);
|
entity.setPositionRotation(x, y, z, yaw, pitch);
|
||||||
} else if (LlamaSpit.class.isAssignableFrom(clazz)) {
|
} else if (LlamaSpit.class.isAssignableFrom(clazz)) {
|
||||||
entity = new EntityLlama(world);
|
entity = new EntityLlamaSpit(world);
|
||||||
entity.setPositionRotation(x, y, z, yaw, pitch);
|
entity.setPositionRotation(x, y, z, yaw, pitch);
|
||||||
}
|
}
|
||||||
} else if (Minecart.class.isAssignableFrom(clazz)) {
|
} else if (Minecart.class.isAssignableFrom(clazz)) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue