aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/api/0436-Allow-proper-checking-of-empty-item-stacks.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/api/0436-Allow-proper-checking-of-empty-item-stacks.patch')
-rw-r--r--patches/api/0436-Allow-proper-checking-of-empty-item-stacks.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/patches/api/0436-Allow-proper-checking-of-empty-item-stacks.patch b/patches/api/0436-Allow-proper-checking-of-empty-item-stacks.patch
index e4c35df87b..716a6140d9 100644
--- a/patches/api/0436-Allow-proper-checking-of-empty-item-stacks.patch
+++ b/patches/api/0436-Allow-proper-checking-of-empty-item-stacks.patch
@@ -6,10 +6,10 @@ Subject: [PATCH] Allow proper checking of empty item stacks
This adds a method to check if an item stack is empty or not. This mirrors vanilla's implementation of the same method.
diff --git a/src/main/java/org/bukkit/inventory/ItemStack.java b/src/main/java/org/bukkit/inventory/ItemStack.java
-index d15a74c38576c49df61cfab02c70fc5d8c0dd5f7..0af73cc04edb93b9772136d4d808f657ea40e733 100644
+index 845037909658884167136955a02b99af0040fa9c..c3872213acc75d913580002cf70c2abb4ec69ca0 100644
--- a/src/main/java/org/bukkit/inventory/ItemStack.java
+++ b/src/main/java/org/bukkit/inventory/ItemStack.java
-@@ -985,5 +985,24 @@ public class ItemStack implements Cloneable, ConfigurationSerializable, Translat
+@@ -996,5 +996,24 @@ public class ItemStack implements Cloneable, ConfigurationSerializable, Translat
public @NotNull ItemStack damage(int amount, @NotNull org.bukkit.entity.LivingEntity livingEntity) {
return livingEntity.damageItemStack(this, amount);
}