Only filter data on block items, not all items.

This commit is contained in:
Travis Watkins 2013-03-18 18:22:13 -05:00
parent d26336eb40
commit 51d4e647fb

View File

@ -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;
}