fixed naquadah cell reverse processing
This commit is contained in:
parent
8f851f0f68
commit
a2ad9c9e83
3 changed files with 4 additions and 0 deletions
|
@ -1701,4 +1701,6 @@ public enum Materials implements IColorModulationContainer, ISubTagContainer {
|
|||
public short[] getRGBA() {
|
||||
return mRGBa;
|
||||
}
|
||||
|
||||
public static volatile int VERSION = 509;
|
||||
}
|
|
@ -317,6 +317,7 @@ public class GT_OreDictUnificator {
|
|||
|
||||
public static ItemStack getIngotOrDust(MaterialStack aMaterial) {
|
||||
ItemStack rStack = getIngot(aMaterial);
|
||||
if(aMaterial!=null&&aMaterial.mMaterial!=null&&(aMaterial.mMaterial==Materials.Naquadah||aMaterial.mMaterial==Materials.NaquadahEnriched))rStack = getDust(aMaterial);
|
||||
if (rStack == null) rStack = getDust(aMaterial);
|
||||
return rStack;
|
||||
}
|
||||
|
|
|
@ -160,6 +160,7 @@ public class GT_RecipeRegistrator {
|
|||
if (aStack == null || aMaterial == null || aMaterialAmount <= 0 || aMaterial.contains(SubTag.NO_SMELTING) || (aMaterialAmount > M && aMaterial.contains(SubTag.METAL)))
|
||||
return;
|
||||
aMaterialAmount /= aStack.stackSize;
|
||||
if(aMaterial==Materials.Naquadah||aMaterial==Materials.NaquadahEnriched)return;
|
||||
if (aAllowAlloySmelter)
|
||||
GT_ModHandler.addSmeltingAndAlloySmeltingRecipe(GT_Utility.copyAmount(1, aStack), GT_OreDictUnificator.getIngot(aMaterial.mSmeltInto, aMaterialAmount));
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue