mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-25 14:24:35 +00:00
fix for looping crash ¤33
This commit is contained in:
3 files changed
+10
No files matched your search
@@ -10,6 +10,8 @@ import java.util.Set;
|
||||
import mekanism.api.Coord4D;
|
||||
import mekanism.api.EnumColor;
|
||||
import mekanism.api.util.StackUtils;
|
||||
import mekanism.common.Mekanism;
|
||||
import mekanism.common.integration.MekanismHooks;
|
||||
import mekanism.common.base.ISideConfiguration;
|
||||
import mekanism.common.content.transporter.TransporterStack.Path;
|
||||
import mekanism.common.tile.TileEntityBin;
|
||||
@@ -22,6 +24,7 @@ import net.minecraft.tileentity.TileEntity;
|
||||
import net.minecraftforge.common.util.ForgeDirection;
|
||||
import powercrystals.minefactoryreloaded.api.IDeepStorageUnit;
|
||||
import cpw.mods.fml.common.Loader;
|
||||
import com.dynious.refinedrelocation.tileentity.TileBuffer;
|
||||
|
||||
public class TransporterManager
|
||||
{
|
||||
@@ -96,6 +99,11 @@ public class TransporterManager
|
||||
{
|
||||
return null;
|
||||
}
|
||||
if(Mekanism.hooks.RRLoaded) {
|
||||
if (inv instanceof TileBuffer) {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
for(int get = 0; get <= slots.length - 1; get++)
|
||||
{
|
||||
|
||||
@@ -41,6 +41,7 @@ public final class MekanismHooks
|
||||
public boolean TELoaded = false;
|
||||
public boolean CCLoaded = false;
|
||||
public boolean AE2Loaded = false;
|
||||
public boolean RRLoaded = false;
|
||||
|
||||
public void hook()
|
||||
{
|
||||
@@ -50,6 +51,7 @@ public final class MekanismHooks
|
||||
if(Loader.isModLoaded("ThermalExpansion")) TELoaded = true;
|
||||
if(Loader.isModLoaded("ComputerCraft")) CCLoaded = true;
|
||||
if(Loader.isModLoaded("appliedenergistics2")) AE2Loaded = true;
|
||||
if(Loader.isModLoaded("RefinedRelocation")) RRLoaded = true;
|
||||
|
||||
if(IC2Loaded)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user