diff options
author | md_5 <git@md-5.net> | 2016-12-10 12:10:28 +1100 |
---|---|---|
committer | md_5 <git@md-5.net> | 2016-12-10 12:10:28 +1100 |
commit | 03c4bf2244687a4791f2f6ca8edcf08d8d114d67 (patch) | |
tree | 91443248e16291a1fc519bfce683c12c596224e6 /src | |
parent | 622630c823bfd8b39113dd0279dcb45ca5b09118 (diff) | |
download | craftbukkit-03c4bf2244687a4791f2f6ca8edcf08d8d114d67.tar craftbukkit-03c4bf2244687a4791f2f6ca8edcf08d8d114d67.tar.gz craftbukkit-03c4bf2244687a4791f2f6ca8edcf08d8d114d67.tar.lz craftbukkit-03c4bf2244687a4791f2f6ca8edcf08d8d114d67.tar.xz craftbukkit-03c4bf2244687a4791f2f6ca8edcf08d8d114d67.zip |
SPIGOT-2908: Correctly spawn LlamaSpit
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/org/bukkit/craftbukkit/CraftWorld.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/bukkit/craftbukkit/CraftWorld.java b/src/main/java/org/bukkit/craftbukkit/CraftWorld.java index 0987a779..de65b341 100644 --- a/src/main/java/org/bukkit/craftbukkit/CraftWorld.java +++ b/src/main/java/org/bukkit/craftbukkit/CraftWorld.java @@ -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)) { |