diff options
author | Tahg <tahgtahv@gmail.com> | 2012-03-01 12:16:26 -0500 |
---|---|---|
committer | Tahg <tahgtahv@gmail.com> | 2012-03-01 12:17:24 -0500 |
commit | 5108569383a6886ebbb0cc9586b963c44e39e824 (patch) | |
tree | 54375fd2dfc5fecf26b3238f8bcd274f0a624207 /src | |
parent | 0e7b9834f94420a12ab29e0720400b5fc8e13ab7 (diff) | |
download | craftbukkit-5108569383a6886ebbb0cc9586b963c44e39e824.tar craftbukkit-5108569383a6886ebbb0cc9586b963c44e39e824.tar.gz craftbukkit-5108569383a6886ebbb0cc9586b963c44e39e824.tar.lz craftbukkit-5108569383a6886ebbb0cc9586b963c44e39e824.tar.xz craftbukkit-5108569383a6886ebbb0cc9586b963c44e39e824.zip |
Revert filtering by dynamic block range
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/net/minecraft/server/ItemStack.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/net/minecraft/server/ItemStack.java b/src/main/java/net/minecraft/server/ItemStack.java index 1b6d0651..5366f45f 100644 --- a/src/main/java/net/minecraft/server/ItemStack.java +++ b/src/main/java/net/minecraft/server/ItemStack.java @@ -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() { |