#1121: Handle additional missing SpawnEggs in MetaSpawnEgg

By: Doc <nachito94@msn.com>
This commit is contained in:
CraftBukkit/Spigot 2022-12-08 17:50:40 +11:00
parent 4a09aaa914
commit 2111d3575c
3 changed files with 7 additions and 1 deletions

View File

@ -152,6 +152,7 @@ public final class CraftItemFactory implements ItemFactory {
case ENDERMITE_SPAWN_EGG:
case EVOKER_SPAWN_EGG:
case FOX_SPAWN_EGG:
case FROG_SPAWN_EGG:
case GHAST_SPAWN_EGG:
case GLOW_SQUID_SPAWN_EGG:
case GOAT_SPAWN_EGG:
@ -188,6 +189,7 @@ public final class CraftItemFactory implements ItemFactory {
case SQUID_SPAWN_EGG:
case STRAY_SPAWN_EGG:
case STRIDER_SPAWN_EGG:
case TADPOLE_SPAWN_EGG:
case TRADER_LLAMA_SPAWN_EGG:
case TROPICAL_FISH_SPAWN_EGG:
case TURTLE_SPAWN_EGG:

View File

@ -415,6 +415,7 @@ public final class CraftItemStack extends ItemStack {
case ENDERMITE_SPAWN_EGG:
case EVOKER_SPAWN_EGG:
case FOX_SPAWN_EGG:
case FROG_SPAWN_EGG:
case GHAST_SPAWN_EGG:
case GLOW_SQUID_SPAWN_EGG:
case GOAT_SPAWN_EGG:
@ -451,14 +452,15 @@ public final class CraftItemStack extends ItemStack {
case SQUID_SPAWN_EGG:
case STRAY_SPAWN_EGG:
case STRIDER_SPAWN_EGG:
case TADPOLE_SPAWN_EGG:
case TRADER_LLAMA_SPAWN_EGG:
case TROPICAL_FISH_SPAWN_EGG:
case TURTLE_SPAWN_EGG:
case VEX_SPAWN_EGG:
case VILLAGER_SPAWN_EGG:
case VINDICATOR_SPAWN_EGG:
case WARDEN_SPAWN_EGG:
case WANDERING_TRADER_SPAWN_EGG:
case WARDEN_SPAWN_EGG:
case WITCH_SPAWN_EGG:
case WITHER_SKELETON_SPAWN_EGG:
case WITHER_SPAWN_EGG:

View File

@ -39,6 +39,7 @@ public class CraftMetaSpawnEgg extends CraftMetaItem implements SpawnEggMeta {
Material.ENDERMITE_SPAWN_EGG,
Material.EVOKER_SPAWN_EGG,
Material.FOX_SPAWN_EGG,
Material.FROG_SPAWN_EGG,
Material.GHAST_SPAWN_EGG,
Material.GLOW_SQUID_SPAWN_EGG,
Material.GOAT_SPAWN_EGG,
@ -75,6 +76,7 @@ public class CraftMetaSpawnEgg extends CraftMetaItem implements SpawnEggMeta {
Material.SQUID_SPAWN_EGG,
Material.STRAY_SPAWN_EGG,
Material.STRIDER_SPAWN_EGG,
Material.TADPOLE_SPAWN_EGG,
Material.TRADER_LLAMA_SPAWN_EGG,
Material.TROPICAL_FISH_SPAWN_EGG,
Material.TURTLE_SPAWN_EGG,