diff options
author | md_5 <git@md-5.net> | 2016-03-01 20:16:34 +1100 |
---|---|---|
committer | md_5 <git@md-5.net> | 2016-03-01 20:16:34 +1100 |
commit | 0f297b39be46c8c30df85d4c5a44f680026163cc (patch) | |
tree | 87d08ecd7faa7d9af6a9490726eff9503f53cbb7 /nms-patches/ItemStack.patch | |
parent | 5122dcd61e680d6587efcfc94917367d17a905f8 (diff) | |
download | craftbukkit-0f297b39be46c8c30df85d4c5a44f680026163cc.tar craftbukkit-0f297b39be46c8c30df85d4c5a44f680026163cc.tar.gz craftbukkit-0f297b39be46c8c30df85d4c5a44f680026163cc.tar.lz craftbukkit-0f297b39be46c8c30df85d4c5a44f680026163cc.tar.xz craftbukkit-0f297b39be46c8c30df85d4c5a44f680026163cc.zip |
SPIGOT-1569: Remove negative itemstack data filtering
Diffstat (limited to 'nms-patches/ItemStack.patch')
-rw-r--r-- | nms-patches/ItemStack.patch | 8 |
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; } |