Pickblock will new compare NBT data, should allow mods to refine there result better.
This commit is contained in:
parent
b52f397a6f
commit
dc7db59f74
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue