Storage Buses no longer assume an inventory can be accessed just because it implements IInventory.

This commit is contained in:
AlgorithmX2
2014-07-23 17:39:42 -05:00
parent 980dff203f
commit 8bcd346226
3 changed files with 7 additions and 4 deletions
+1 -1
View File
@@ -380,7 +380,7 @@ public class DualityInterface implements IGridTickable, ISegmentedInventory, ISt
{
public InterfaceInventory(DualityInterface tileInterface) {
super( InventoryAdaptor.getAdaptor( tileInterface.storage, ForgeDirection.UP ) );
super( new AdaptorIInventory( tileInterface.storage ) );
mySource = new MachineSource( iHost );
}