Revert filtering by dynamic block range

This commit is contained in:
Tahg 2012-03-01 12:16:26 -05:00
parent 0e7b9834f9
commit 5108569383

View File

@ -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() {