mirror of
https://github.com/GTNewHorizons/NotEnoughItems.git
synced 2026-11-12 08:27:37 +00:00
Merge pull request #215 from ganymedes01/patch-1
Use EntityPlayer sensitive version of getPickBlock
This commit is contained in:
commit
3cf4cd7fe9
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