summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authormd_5 <git@md-5.net>2018-08-13 18:22:57 +1000
committermd_5 <git@md-5.net>2018-08-13 18:22:57 +1000
commit4a241086654d1331eaf51c749306a04ae224e7f1 (patch)
tree775531d19eead28e3a0028bb3e59f865caec7d7b /src
parentc0df4b82d380bea4fd66cc887a1476468e2301c4 (diff)
downloadcraftbukkit-4a241086654d1331eaf51c749306a04ae224e7f1.tar
craftbukkit-4a241086654d1331eaf51c749306a04ae224e7f1.tar.gz
craftbukkit-4a241086654d1331eaf51c749306a04ae224e7f1.tar.lz
craftbukkit-4a241086654d1331eaf51c749306a04ae224e7f1.tar.xz
craftbukkit-4a241086654d1331eaf51c749306a04ae224e7f1.zip
SPIGOT-4261: Missing turtle / phantom spawn egg meta
Diffstat (limited to 'src')
-rw-r--r--src/main/java/org/bukkit/craftbukkit/inventory/CraftItemFactory.java2
-rw-r--r--src/main/java/org/bukkit/craftbukkit/inventory/CraftItemStack.java2
-rw-r--r--src/main/java/org/bukkit/craftbukkit/inventory/CraftMetaSpawnEgg.java2
3 files changed, 6 insertions, 0 deletions
diff --git a/src/main/java/org/bukkit/craftbukkit/inventory/CraftItemFactory.java b/src/main/java/org/bukkit/craftbukkit/inventory/CraftItemFactory.java
index 0fb3c238..6998fddc 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 f4672b9a..f5a39c2e 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 15d388d2..7a9f29aa 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: