From 51d4e647fbb796ab27a0c7a796b44ec614bfd992 Mon Sep 17 00:00:00 2001 From: Travis Watkins Date: Mon, 18 Mar 2013 18:22:13 -0500 Subject: [PATCH] Only filter data on block items, not all items. --- src/main/java/net/minecraft/server/ItemStack.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/minecraft/server/ItemStack.java b/src/main/java/net/minecraft/server/ItemStack.java index d528420d2a..389558cf35 100644 --- a/src/main/java/net/minecraft/server/ItemStack.java +++ b/src/main/java/net/minecraft/server/ItemStack.java @@ -156,7 +156,7 @@ public final class ItemStack { return; } - if (!(this.usesData() || Item.byId[this.id].o())) { // Should be canBeDepleted + if (!(this.usesData() || Item.byId[this.id].o() || this.id > 256)) { // Should be canBeDepleted i = 0; }