mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-12 16:27:47 +00:00
Pickblock will new compare NBT data, should allow mods to refine there result better.
This commit is contained in:
1 parent
b52f397a6f
commit
dc7db59f74
1 file changed
+1
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user