Pickblock will new compare NBT data, should allow mods to refine there result better.

This commit is contained in:
LexManos 2012-10-28 04:15:53 -07:00
parent b52f397a6f
commit dc7db59f74
1 changed files with 1 additions and 1 deletions

View File

@ -272,7 +272,7 @@ public class ForgeHooks
for (int x = 0; x < 9; x++)
{
ItemStack stack = player.inventory.getStackInSlot(x);
if (stack != null && stack.isItemEqual(result))
if (stack != null && stack.isItemEqual(result) && ItemStack.func_77970_a(stack, result))
{
player.inventory.currentItem = x;
return true;