aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEthryan <3237986+Ethryan@users.noreply.github.com>2024-05-24 19:49:26 +0200
committerGitHub <noreply@github.com>2024-05-24 18:49:26 +0100
commita42b7715ec2196a55a6510a4ab85e337a2a93570 (patch)
tree025d32aada0cd9abc3e770bf1710991f971e84ed
parentcfdc7a5c9d039884a2ff8f4f9226efc86013a156 (diff)
downloadGT5-Unofficial-a42b7715ec2196a55a6510a4ab85e337a2a93570.tar.gz
GT5-Unofficial-a42b7715ec2196a55a6510a4ab85e337a2a93570.tar.bz2
GT5-Unofficial-a42b7715ec2196a55a6510a4ab85e337a2a93570.zip
Fixing Raw Ores and removed old commented out code (#89)
-rw-r--r--dependencies.gradle6
-rw-r--r--src/main/java/com/elisis/gtnhlanth/loader/RecipeLoader.java5
2 files changed, 6 insertions, 5 deletions
diff --git a/dependencies.gradle b/dependencies.gradle
index cd7cee3783..0fc17a4ed8 100644
--- a/dependencies.gradle
+++ b/dependencies.gradle
@@ -1,7 +1,7 @@
// Add your dependencies here
dependencies {
- api('com.github.GTNewHorizons:GT5-Unofficial:5.09.46.05:dev')
- implementation('com.github.GTNewHorizons:GTplusplus:1.12.2:dev')
- implementation('com.github.GTNewHorizons:GoodGenerator:0.9.1:dev')
+ api('com.github.GTNewHorizons:GT5-Unofficial:5.09.46.23:dev')
+ implementation('com.github.GTNewHorizons:GTplusplus:1.12.10:dev')
+ implementation('com.github.GTNewHorizons:GoodGenerator:0.9.5:dev')
}
diff --git a/src/main/java/com/elisis/gtnhlanth/loader/RecipeLoader.java b/src/main/java/com/elisis/gtnhlanth/loader/RecipeLoader.java
index 6e253c3542..173745edc2 100644
--- a/src/main/java/com/elisis/gtnhlanth/loader/RecipeLoader.java
+++ b/src/main/java/com/elisis/gtnhlanth/loader/RecipeLoader.java
@@ -2506,8 +2506,9 @@ public class RecipeLoader {
if (GT_Utility.isStackValid(input)) {
int[] oreDict = OreDictionary.getOreIDs(input);
for (int oreDictID : oreDict) {
- if ((OreDictionary.getOreName(oreDictID).startsWith("ore") || OreDictionary.getOreName(oreDictID)
- .startsWith("crushed")) /* && OreDictionary.getOreName(oreDictID).contains("Cerium") */) {
+ if ((OreDictionary.getOreName(oreDictID).startsWith("ore")
+ || OreDictionary.getOreName(oreDictID).startsWith("rawOre")
+ || OreDictionary.getOreName(oreDictID).startsWith("crushed"))) {
GT_Log.out.print(OreDictionary.getOreName(oreDictID));
GT_Recipe tRecipe = recipe.copy();
boolean modified = false;