Catch crash with Fossils Archeology Revival #642
This commit is contained in:
parent
f037d652a7
commit
f97698b054
2 changed files with 2 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
minecraft.version=1.7.10
|
minecraft.version=1.7.10
|
||||||
forge.version=10.13.4.1566-1.7.10
|
forge.version=10.13.4.1566-1.7.10
|
||||||
|
|
||||||
gt.version=5.09.25
|
gt.version=5.09.26pre
|
||||||
|
|
||||||
ae2.version=rv2-beta-33
|
ae2.version=rv2-beta-33
|
||||||
applecore.version=1.7.10-1.2.1+107.59407
|
applecore.version=1.7.10-1.2.1+107.59407
|
||||||
|
|
|
@ -863,6 +863,7 @@ public class GT_Utility {
|
||||||
ItemStack[] tStack = GT_OreDictUnificator.getStackArray(true, aOutput);
|
ItemStack[] tStack = GT_OreDictUnificator.getStackArray(true, aOutput);
|
||||||
if(tStack==null||(tStack.length>0&>_Utility.areStacksEqual(aInput, tStack[0])))return false;
|
if(tStack==null||(tStack.length>0&>_Utility.areStacksEqual(aInput, tStack[0])))return false;
|
||||||
if (tOreName != null) {
|
if (tOreName != null) {
|
||||||
|
if(tOreName.toString().equals("dustAsh")&&tStack[0].getUnlocalizedName().equals("tile.volcanicAsh"))return false;
|
||||||
aRecipeList.put(new RecipeInputOreDict(tOreName.toString(), aInput.stackSize), new RecipeOutput(aNBT, tStack));
|
aRecipeList.put(new RecipeInputOreDict(tOreName.toString(), aInput.stackSize), new RecipeOutput(aNBT, tStack));
|
||||||
} else {
|
} else {
|
||||||
aRecipeList.put(new RecipeInputItemStack(copy(aInput), aInput.stackSize), new RecipeOutput(aNBT, tStack));
|
aRecipeList.put(new RecipeInputItemStack(copy(aInput), aInput.stackSize), new RecipeOutput(aNBT, tStack));
|
||||||
|
|
Loading…
Reference in a new issue