diff --git a/paper-server/src/main/java/org/bukkit/craftbukkit/entity/CraftEntity.java b/paper-server/src/main/java/org/bukkit/craftbukkit/entity/CraftEntity.java index 76bc408450..2cf8e8a0e0 100644 --- a/paper-server/src/main/java/org/bukkit/craftbukkit/entity/CraftEntity.java +++ b/paper-server/src/main/java/org/bukkit/craftbukkit/entity/CraftEntity.java @@ -81,7 +81,7 @@ public abstract class CraftEntity implements org.bukkit.entity.Entity { } // Slimes are a special (and broken) case else if (entity instanceof EntitySlime) { - if (entity instanceof MagmaCube) { return new CraftMagmaCube(server, (EntityLavaSlime) entity); } + if (entity instanceof EntityLavaSlime) { return new CraftMagmaCube(server, (EntityLavaSlime) entity); } else { return new CraftSlime(server, (EntitySlime) entity); } } // Flying