From 5108569383a6886ebbb0cc9586b963c44e39e824 Mon Sep 17 00:00:00 2001 From: Tahg Date: Thu, 1 Mar 2012 12:16:26 -0500 Subject: [PATCH] Revert filtering by dynamic block range --- src/main/java/net/minecraft/server/ItemStack.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/minecraft/server/ItemStack.java b/src/main/java/net/minecraft/server/ItemStack.java index 1b6d065118..5366f45f15 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() {