mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-17 02:45:13 +00:00
Update ItemItemFinder.java
This commit is contained in:
1 parent
47ce2fd12b
commit
3ffd9aed49
1 file changed
+1
-1
@@ -191,7 +191,7 @@ public class ItemItemFinder extends ItemBauble implements IBaubleRender {
|
||||
}
|
||||
|
||||
private boolean scanInventory(IItemHandler inv, ItemStack pstack) {
|
||||
if(pstack.isEmpty())
|
||||
if(pstack.isEmpty() || inv == null)
|
||||
return false;
|
||||
|
||||
for(int l = 0; l < inv.getSlots(); l++) {
|
||||
|
||||
Reference in new issue
Block a user