Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-23 23:00:08 +01:00
Only filter data on block items, not all items.
Dieser Commit ist enthalten in:
Ursprung
d26336eb40
Commit
51d4e647fb
@ -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;
|
||||
}
|
||||
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren