After fix 598
This commit is contained in:
parent
ca620da531
commit
58d753a5e6
1 changed files with 5 additions and 6 deletions
|
@ -146,9 +146,9 @@ public class GT_MetaTileEntity_ProcessingArray extends GT_MetaTileEntity_MultiBl
|
||||||
return GT_Recipe.GT_Recipe_Map.sFluidSolidficationRecipes;
|
return GT_Recipe.GT_Recipe_Map.sFluidSolidficationRecipes;
|
||||||
} else if (tmp.startsWith("lathe")) {
|
} else if (tmp.startsWith("lathe")) {
|
||||||
return GT_Recipe.GT_Recipe_Map.sLatheRecipes;
|
return GT_Recipe.GT_Recipe_Map.sLatheRecipes;
|
||||||
} else if (tmp.startsWith("packer")) {
|
} else if (tmp.startsWith("boxinator")) {
|
||||||
return GT_Recipe.GT_Recipe_Map.sBoxinatorRecipes;
|
return GT_Recipe.GT_Recipe_Map.sBoxinatorRecipes;
|
||||||
} else if (tmp.startsWith("unpacker")) {
|
} else if (tmp.startsWith("unboxinator")) {
|
||||||
return GT_Recipe.GT_Recipe_Map.sUnboxinatorRecipes;
|
return GT_Recipe.GT_Recipe_Map.sUnboxinatorRecipes;
|
||||||
} else if (tmp.startsWith("polarizer")) {
|
} else if (tmp.startsWith("polarizer")) {
|
||||||
return GT_Recipe.GT_Recipe_Map.sPolarizerRecipes;
|
return GT_Recipe.GT_Recipe_Map.sPolarizerRecipes;
|
||||||
|
@ -227,14 +227,14 @@ public class GT_MetaTileEntity_ProcessingArray extends GT_MetaTileEntity_MultiBl
|
||||||
}else if (mInventory[1].getUnlocalizedName().endsWith("9")) {
|
}else if (mInventory[1].getUnlocalizedName().endsWith("9")) {
|
||||||
tTier = 9;
|
tTier = 9;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(!mMachine.equals(mInventory[1].getUnlocalizedName()))mLastRecipe=null;
|
if(!mMachine.equals(mInventory[1].getUnlocalizedName()))mLastRecipe=null;
|
||||||
mMachine = mInventory[1].getUnlocalizedName();
|
mMachine = mInventory[1].getUnlocalizedName();
|
||||||
ItemStack[] tInputs = (ItemStack[]) tInputList.toArray(new ItemStack[tInputList.size()]);
|
ItemStack[] tInputs = (ItemStack[]) tInputList.toArray(new ItemStack[tInputList.size()]);
|
||||||
|
|
||||||
ArrayList<FluidStack> tFluidList = getStoredFluids();
|
ArrayList<FluidStack> tFluidList = getStoredFluids();
|
||||||
|
|
||||||
FluidStack[] tFluids = (FluidStack[]) tFluidList.toArray(new FluidStack[tFluidList.size()]);
|
FluidStack[] tFluids = (FluidStack[]) tFluidList.toArray(new FluidStack[tFluidList.size()]);
|
||||||
if (tInputList.size() > 0 || tFluids.length > 0) {
|
if (tInputList.size() > 0 || tFluids.length > 0) {
|
||||||
GT_Recipe tRecipe = map.findRecipe(getBaseMetaTileEntity(), mLastRecipe, false, gregtech.api.enums.GT_Values.V[tTier], tFluids, tInputs);
|
GT_Recipe tRecipe = map.findRecipe(getBaseMetaTileEntity(), mLastRecipe, false, gregtech.api.enums.GT_Values.V[tTier], tFluids, tInputs);
|
||||||
if (tRecipe != null) {
|
if (tRecipe != null) {
|
||||||
|
@ -314,7 +314,6 @@ public class GT_MetaTileEntity_ProcessingArray extends GT_MetaTileEntity_MultiBl
|
||||||
}/* else{
|
}/* else{
|
||||||
...remoteRecipeCheck()
|
...remoteRecipeCheck()
|
||||||
}
|
}
|
||||||
*/
|
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue