diff options
Diffstat (limited to 'patches/server/0940-Deprecate-ItemStack-setType.patch')
-rw-r--r-- | patches/server/0940-Deprecate-ItemStack-setType.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/patches/server/0940-Deprecate-ItemStack-setType.patch b/patches/server/0940-Deprecate-ItemStack-setType.patch index 7079056771..e0a6acc747 100644 --- a/patches/server/0940-Deprecate-ItemStack-setType.patch +++ b/patches/server/0940-Deprecate-ItemStack-setType.patch @@ -5,10 +5,10 @@ Subject: [PATCH] Deprecate ItemStack#setType diff --git a/src/main/java/org/bukkit/craftbukkit/inventory/CraftItemStack.java b/src/main/java/org/bukkit/craftbukkit/inventory/CraftItemStack.java -index 206b5fcb259e0f40f35ae42fe8ebcc986c23ee52..19313d94dc89cf2cce6d0e241e4e4e16eccbd395 100644 +index a1a32a77bda0560a7b7f30a5d1c1837ee96997d3..9be7859ccb5283b2040ba68d72d6dbdafb4d6835 100644 --- a/src/main/java/org/bukkit/craftbukkit/inventory/CraftItemStack.java +++ b/src/main/java/org/bukkit/craftbukkit/inventory/CraftItemStack.java -@@ -415,4 +415,24 @@ public final class CraftItemStack extends ItemStack { +@@ -417,4 +417,24 @@ public final class CraftItemStack extends ItemStack { static boolean hasItemMeta(net.minecraft.world.item.ItemStack item) { return !(item == null || item.getComponentsPatch().isEmpty()); } |