diff --git a/src/main/java/org/bukkit/craftbukkit/inventory/CraftItemFactory.java b/src/main/java/org/bukkit/craftbukkit/inventory/CraftItemFactory.java index 0fb3c238ae..6998fddc5a 100644 --- a/src/main/java/org/bukkit/craftbukkit/inventory/CraftItemFactory.java +++ b/src/main/java/org/bukkit/craftbukkit/inventory/CraftItemFactory.java @@ -158,6 +158,7 @@ public final class CraftItemFactory implements ItemFactory { case MULE_SPAWN_EGG: case OCELOT_SPAWN_EGG: case PARROT_SPAWN_EGG: + case PHANTOM_SPAWN_EGG: case PIG_SPAWN_EGG: case POLAR_BEAR_SPAWN_EGG: case RABBIT_SPAWN_EGG: @@ -170,6 +171,7 @@ public final class CraftItemFactory implements ItemFactory { case SPIDER_SPAWN_EGG: case SQUID_SPAWN_EGG: case STRAY_SPAWN_EGG: + case TURTLE_SPAWN_EGG: case VEX_SPAWN_EGG: case VILLAGER_SPAWN_EGG: case VINDICATOR_SPAWN_EGG: diff --git a/src/main/java/org/bukkit/craftbukkit/inventory/CraftItemStack.java b/src/main/java/org/bukkit/craftbukkit/inventory/CraftItemStack.java index f4672b9a48..f5a39c2ec9 100644 --- a/src/main/java/org/bukkit/craftbukkit/inventory/CraftItemStack.java +++ b/src/main/java/org/bukkit/craftbukkit/inventory/CraftItemStack.java @@ -417,6 +417,7 @@ public final class CraftItemStack extends ItemStack { case MULE_SPAWN_EGG: case OCELOT_SPAWN_EGG: case PARROT_SPAWN_EGG: + case PHANTOM_SPAWN_EGG: case PIG_SPAWN_EGG: case POLAR_BEAR_SPAWN_EGG: case RABBIT_SPAWN_EGG: @@ -429,6 +430,7 @@ public final class CraftItemStack extends ItemStack { case SPIDER_SPAWN_EGG: case SQUID_SPAWN_EGG: case STRAY_SPAWN_EGG: + case TURTLE_SPAWN_EGG: case VEX_SPAWN_EGG: case VILLAGER_SPAWN_EGG: case VINDICATOR_SPAWN_EGG: diff --git a/src/main/java/org/bukkit/craftbukkit/inventory/CraftMetaSpawnEgg.java b/src/main/java/org/bukkit/craftbukkit/inventory/CraftMetaSpawnEgg.java index 15d388d238..7a9f29aa8a 100644 --- a/src/main/java/org/bukkit/craftbukkit/inventory/CraftMetaSpawnEgg.java +++ b/src/main/java/org/bukkit/craftbukkit/inventory/CraftMetaSpawnEgg.java @@ -136,6 +136,7 @@ public class CraftMetaSpawnEgg extends CraftMetaItem implements SpawnEggMeta { case MULE_SPAWN_EGG: case OCELOT_SPAWN_EGG: case PARROT_SPAWN_EGG: + case PHANTOM_SPAWN_EGG: case PIG_SPAWN_EGG: case POLAR_BEAR_SPAWN_EGG: case RABBIT_SPAWN_EGG: @@ -148,6 +149,7 @@ public class CraftMetaSpawnEgg extends CraftMetaItem implements SpawnEggMeta { case SPIDER_SPAWN_EGG: case SQUID_SPAWN_EGG: case STRAY_SPAWN_EGG: + case TURTLE_SPAWN_EGG: case VEX_SPAWN_EGG: case VILLAGER_SPAWN_EGG: case VINDICATOR_SPAWN_EGG: