mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-26 06:42:56 +00:00
Fix un-checked MFR API usage
This commit is contained in:
1 parent
79f27e9d11
commit
0758ad752b
1 file changed
+3
-1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user