Fix addToRandomInventory putting stuff from quarries etc into adjacent
engines..
This commit is contained in:
parent
ba1562b67f
commit
890c4d45e9
1 changed files with 7 additions and 7 deletions
|
@ -74,7 +74,7 @@ public class Utils {
|
|||
|
||||
TileEntity tileInventory = world.getBlockTileEntity((int) pos.x, (int) pos.y, (int) pos.z);
|
||||
ITransactor transactor = Transactor.getTransactorFor(tileInventory);
|
||||
if(transactor != null
|
||||
if(transactor != null && !(tileInventory instanceof TileBuildCraft)
|
||||
&& transactor.add(stack, from, false).stackSize > 0)
|
||||
possibleInventories.add(transactor);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue