mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-30 12:11:47 +01:00
Revert filtering by dynamic block range
This commit is contained in:
parent
0e7b9834f9
commit
5108569383
1 changed files with 1 additions and 1 deletions
|
@ -150,7 +150,7 @@ public final class ItemStack {
|
|||
}
|
||||
|
||||
public void setData(int i) {
|
||||
this.damage = (this.id > 0) && (this.id < Block.byId.length) ? Item.byId[this.id].filterData(i) : i; // CraftBukkit
|
||||
this.damage = (this.id > 0) && (this.id < 256) ? Item.byId[this.id].filterData(i) : i; // CraftBukkit
|
||||
}
|
||||
|
||||
public int i() {
|
||||
|
|
Loading…
Reference in a new issue