From c855cebeee8f6615fb1e4ad531e798052f440855 Mon Sep 17 00:00:00 2001 From: Jake Potrebic Date: Wed, 20 Oct 2021 14:41:54 -0700 Subject: [PATCH] rename method to getSpawnEgg --- patches/api/Add-ItemFactory-getMonsterEgg-API.patch | 4 ++-- patches/server/Add-ItemFactory-getMonsterEgg-API.patch | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/patches/api/Add-ItemFactory-getMonsterEgg-API.patch b/patches/api/Add-ItemFactory-getMonsterEgg-API.patch index 2d66259834..46f902389f 100644 --- a/patches/api/Add-ItemFactory-getMonsterEgg-API.patch +++ b/patches/api/Add-ItemFactory-getMonsterEgg-API.patch @@ -14,12 +14,12 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000 net.md_5.bungee.api.chat.hover.content.Content hoverContentOf(@NotNull org.bukkit.entity.Entity entity, @NotNull net.md_5.bungee.api.chat.BaseComponent[] customName); + + /** -+ * Get a monster egg ItemStack from an EntityType ++ * Get a spawn egg ItemStack from an EntityType + * + * @param type EntityType + * @return ItemStack spawner egg + */ + @Nullable -+ ItemStack getMonsterEgg(@Nullable org.bukkit.entity.EntityType type); ++ ItemStack getSpawnEgg(@Nullable org.bukkit.entity.EntityType type); // Paper end } diff --git a/patches/server/Add-ItemFactory-getMonsterEgg-API.patch b/patches/server/Add-ItemFactory-getMonsterEgg-API.patch index 9c4c4c27b3..e1749a50da 100644 --- a/patches/server/Add-ItemFactory-getMonsterEgg-API.patch +++ b/patches/server/Add-ItemFactory-getMonsterEgg-API.patch @@ -14,7 +14,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000 } + + @Override -+ public ItemStack getMonsterEgg(org.bukkit.entity.EntityType type) { ++ public ItemStack getSpawnEgg(org.bukkit.entity.EntityType type) { + if (type == null) { + return null; + }