SPIGOT-4261: Missing turtle / phantom spawn egg meta

This commit is contained in:
md_5 2018-08-13 18:22:57 +10:00
parent c0df4b82d3
commit 4a24108665
3 changed files with 6 additions and 0 deletions

View File

@ -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:

View File

@ -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:

View File

@ -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: