From 51d4e647fbb796ab27a0c7a796b44ec614bfd992 Mon Sep 17 00:00:00 2001 From: Travis Watkins Date: Mon, 18 Mar 2013 18:22:13 -0500 Subject: 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(-) (limited to 'src/main/java/net/minecraft/server/ItemStack.java') diff --git a/src/main/java/net/minecraft/server/ItemStack.java b/src/main/java/net/minecraft/server/ItemStack.java index d528420d..389558cf 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; } -- cgit v1.2.3