Fix un-checked MFR API usage
This commit is contained in:
parent
79f27e9d11
commit
0758ad752b
1 changed files with 3 additions and 1 deletions
|
@ -17,6 +17,8 @@ import net.minecraft.inventory.ISidedInventory;
|
|||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.tileentity.TileEntity;
|
||||
import net.minecraftforge.common.util.ForgeDirection;
|
||||
import cpw.mods.fml.common.Loader;
|
||||
|
||||
import powercrystals.minefactoryreloaded.api.IDeepStorageUnit;
|
||||
|
||||
public class TransporterManager
|
||||
|
@ -100,7 +102,7 @@ public class TransporterManager
|
|||
}
|
||||
}
|
||||
|
||||
if(inv instanceof IDeepStorageUnit)
|
||||
if(Loader.isModLoaded("MinefactoryReloaded") && inv instanceof IDeepStorageUnit)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue