mirror of
https://github.com/GTNewHorizons/NotEnoughItems.git
synced 2026-11-26 15:03:10 +00:00
Use EntityPlayer sensitive version of getPickBlock
This commit is contained in:
1 parent
925d701ba8
commit
58bdc0b1a4
1 file changed
+1
-1
@@ -483,7 +483,7 @@ public class ItemInfo
|
||||
if (items.size() > 0)
|
||||
return items;
|
||||
|
||||
ItemStack pick = mouseoverBlock.getPickBlock(hit, world, x, y, z);
|
||||
ItemStack pick = mouseoverBlock.getPickBlock(hit, world, x, y, z, player);
|
||||
if (pick != null)
|
||||
items.add(pick);
|
||||
|
||||
|
||||
Reference in new issue
Block a user