mirror of
https://github.com/GTNewHorizons/ThaumicEnergistics.git
synced 2026-10-25 20:32:27 +00:00
Add alternative recipe aspect cost check
(https://github.com/GTNewHorizons/GT-New-Horizons-Modpack/issues/7492)
This commit is contained in:
1 parent
05b181d662
commit
2ebece716d
2 files changed
+6
-2
No files matched your search
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user