aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/api/0421-Allow-proper-checking-of-empty-item-stacks.patch
diff options
context:
space:
mode:
authorNassim Jahnke <[email protected]>2024-06-28 14:25:43 +0200
committerNassim Jahnke <[email protected]>2024-06-28 14:25:43 +0200
commitdbd6b3a5b4426ae8cd19c44d98bc996874532afb (patch)
tree9d2e7eeef5f00a62f55a6ee0f242abb810ee083b /patches/api/0421-Allow-proper-checking-of-empty-item-stacks.patch
parentb68774ea543eefe16eba7dc50445ae9225acfb44 (diff)
downloadPaper-dbd6b3a5b4426ae8cd19c44d98bc996874532afb.tar.gz
Paper-dbd6b3a5b4426ae8cd19c44d98bc996874532afb.zip
Add note on more related set/get methods as welldeprecations
Diffstat (limited to 'patches/api/0421-Allow-proper-checking-of-empty-item-stacks.patch')
-rw-r--r--patches/api/0421-Allow-proper-checking-of-empty-item-stacks.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/patches/api/0421-Allow-proper-checking-of-empty-item-stacks.patch b/patches/api/0421-Allow-proper-checking-of-empty-item-stacks.patch
index 7c74a0781c..9fe874ee2d 100644
--- a/patches/api/0421-Allow-proper-checking-of-empty-item-stacks.patch
+++ b/patches/api/0421-Allow-proper-checking-of-empty-item-stacks.patch
@@ -6,7 +6,7 @@ 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 db128d14931ec2afea5205faa58fb5410ec9a54c..9d397c395d777f337a421fac8fea064680065661 100644
+index 659191a226cae406a14c67cc0992f7026f6188e6..5b918d510b9c8a6f8c6d146e90e1d0ef4a204b5a 100644
--- a/src/main/java/org/bukkit/inventory/ItemStack.java
+++ b/src/main/java/org/bukkit/inventory/ItemStack.java
@@ -1017,5 +1017,24 @@ public class ItemStack implements Cloneable, ConfigurationSerializable, Translat