mirror of
https://github.com/PaperMC/Paper.git
synced 2025-03-01 06:46:59 +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) {
|
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() {
|
public int i() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue