Merge pull request #12 from repo-alt/AE2-RV3

Add alternative recipe aspect cost check
This commit is contained in:
repo-alt authored and GitHub committed 2021-02-17 18:54:39 +03:00
commit 4cc676a803
2 files changed
+6 -2

No files matched your search

+1 -1
View File
@@ -28,7 +28,7 @@ apply plugin: 'java'
sourceCompatibility = 1.8
targetCompatibility = 1.8
version = "1.1.3.10-GTNH"
version = "1.1.3.11-GTNH"
group= "thaumicenergistics" // http://maven.apache.org/guides/mini/guide-naming-conventions.html
archivesBaseName = "thaumicenergistics"
@@ -103,7 +103,11 @@ public class ArcaneRecipeHelper
return null;
}
return recipe.getAspects( this.createBridgeInventory( sourceInventory, firstSlotIndex, gridSize ) );
AspectList al = recipe.getAspects( this.createBridgeInventory( sourceInventory, firstSlotIndex, gridSize ) );
// some mods (e.g. Gadomancy) return null on inventory check
if (al == null)
al = recipe.getAspects();
return al;
}
/**