mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-27 23:45:57 +00:00
Fix itemfinder crash. Closes #176
This commit is contained in:
1 parent
f1403a4577
commit
3cc7099ab2
1 file changed
+1
-1
@@ -139,7 +139,7 @@ public class ItemItemFinder extends ItemBauble implements IBaubleRender {
|
||||
|
||||
} else if(e instanceof EntityPlayer) {
|
||||
EntityPlayer player_ = (EntityPlayer) e;
|
||||
IItemHandler playerInv = new PlayerInvWrapper(player_.inventory);
|
||||
IItemHandler playerInv = new InvWrapper(player_.inventory);
|
||||
IItemHandler binv = new InvWrapper(PlayerHandler.getPlayerBaubles(player_));
|
||||
if(scanInventory(playerInv, pstack) || scanInventory(binv, pstack))
|
||||
positionsBuilder.append(player_.getEntityId()).append(";");
|
||||
|
||||
Reference in new issue
Block a user