Restore DSU Api, mark all other api's as dead.
This commit is contained in:
@@ -5,7 +5,7 @@ import net.minecraftforge.common.util.ForgeDirection;
|
||||
import appeng.api.storage.IExternalStorageHandler;
|
||||
import appeng.api.storage.IMEInventory;
|
||||
import appeng.api.storage.StorageChannel;
|
||||
import appeng.integration.modules.MFR;
|
||||
import appeng.integration.modules.DSU;
|
||||
|
||||
public class MFRDSUHandler implements IExternalStorageHandler
|
||||
{
|
||||
@@ -13,14 +13,14 @@ public class MFRDSUHandler implements IExternalStorageHandler
|
||||
@Override
|
||||
public boolean canHandle(TileEntity te, ForgeDirection d, StorageChannel chan)
|
||||
{
|
||||
return chan == StorageChannel.ITEMS && MFR.instance.isDSU( te );
|
||||
return chan == StorageChannel.ITEMS && DSU.instance.isDSU( te );
|
||||
}
|
||||
|
||||
@Override
|
||||
public IMEInventory getInventory(TileEntity te, ForgeDirection d, StorageChannel chan)
|
||||
{
|
||||
if ( chan == StorageChannel.ITEMS )
|
||||
return MFR.instance.getDSU( te );
|
||||
return DSU.instance.getDSU( te );
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user