summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--nms-patches/ItemStack.patch8
1 files changed, 6 insertions, 2 deletions
diff --git a/nms-patches/ItemStack.patch b/nms-patches/ItemStack.patch
index fe0ae0c3..58546163 100644
--- a/nms-patches/ItemStack.patch
+++ b/nms-patches/ItemStack.patch
@@ -199,7 +199,7 @@
if (this.item != null) {
this.item.a(this.tag);
}
-@@ -164,6 +304,26 @@
+@@ -164,9 +304,29 @@
}
public void setData(int i) {
@@ -225,7 +225,11 @@
+ // CraftBukkit end
this.damage = i;
if (this.damage < 0) {
- this.damage = 0;
+- this.damage = 0;
++ // this.damage = 0; // CraftBukkit - remove this.
+ }
+
+ }
@@ -216,6 +376,12 @@
this.count = 0;
}