mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-02 13:07:06 +01:00
Only filter data on block items, not all items.
This commit is contained in:
parent
d26336eb40
commit
51d4e647fb
1 changed files with 1 additions and 1 deletions
|
@ -156,7 +156,7 @@ public final class ItemStack {
|
||||||
return;
|
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;
|
i = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue