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