Expand low grav dimensions
This commit is contained in:
parent
ab48a95372
commit
97042f0d48
1 changed files with 9 additions and 1 deletions
|
@ -789,7 +789,15 @@ public abstract class GT_MetaTileEntity_BasicMachine extends GT_MetaTileEntity_B
|
|||
if (tMap == null) return DID_NOT_FIND_RECIPE;
|
||||
GT_Recipe tRecipe = tMap.findRecipe(getBaseMetaTileEntity(), mLastRecipe, false, V[mTier], new FluidStack[]{getFillableStack()}, getSpecialSlot(), getAllInputs());
|
||||
if (tRecipe == null) return DID_NOT_FIND_RECIPE;
|
||||
if (GT_Mod.gregtechproxy.mLowGravProcessing && tRecipe.mSpecialValue == -100 && !(DimensionManager.getProvider(getBaseMetaTileEntity().getWorld().provider.dimensionId).getClass().getName().endsWith("Orbit")||DimensionManager.getProvider(getBaseMetaTileEntity().getWorld().provider.dimensionId).getClass().getName().endsWith("Space"))) return FOUND_RECIPE_BUT_DID_NOT_MEET_REQUIREMENTS;
|
||||
if (GT_Mod.gregtechproxy.mLowGravProcessing &&
|
||||
tRecipe.mSpecialValue == -100 && !(//TODO check or get a better solution
|
||||
DimensionManager.getProvider(getBaseMetaTileEntity().getWorld().provider.dimensionId).getClass().getName().contains("Orbit") ||
|
||||
DimensionManager.getProvider(getBaseMetaTileEntity().getWorld().provider.dimensionId).getClass().getName().endsWith("Space") ||
|
||||
DimensionManager.getProvider(getBaseMetaTileEntity().getWorld().provider.dimensionId).getClass().getName().endsWith("Asteroids") ||
|
||||
DimensionManager.getProvider(getBaseMetaTileEntity().getWorld().provider.dimensionId).getClass().getName().endsWith("SS") ||
|
||||
DimensionManager.getProvider(getBaseMetaTileEntity().getWorld().provider.dimensionId).getClass().getName().contains("SpaceStation")
|
||||
)
|
||||
) return FOUND_RECIPE_BUT_DID_NOT_MEET_REQUIREMENTS;
|
||||
if (tRecipe.mCanBeBuffered) mLastRecipe = tRecipe;
|
||||
if (!canOutput(tRecipe)) {
|
||||
mOutputBlocked++;
|
||||
|
|
Loading…
Reference in a new issue