diff --git a/dependencies.gradle b/dependencies.gradle index 786a7b1..81c6af6 100644 --- a/dependencies.gradle +++ b/dependencies.gradle @@ -1,14 +1,14 @@ dependencies { api("com.github.GTNewHorizons:Applied-Energistics-2-Unofficial:rv3-beta-892-GTNH:dev") - api("com.github.GTNewHorizons:NotEnoughItems:2.8.89-GTNH:dev") + api("com.github.GTNewHorizons:NotEnoughItems:2.8.91-GTNH:dev") api('com.github.GTNewHorizons:CodeChickenCore:1.4.12:dev') implementation("com.github.GTNewHorizons:Baubles-Expanded:2.2.11-GTNH:dev") implementation("com.github.GTNewHorizons:WirelessCraftingTerminal:1.12.13:dev") implementation("com.github.GTNewHorizons:AE2FluidCraft-Rework:1.5.72-gtnh:dev") - compileOnly("com.github.GTNewHorizons:GT5-Unofficial:5.09.52.415:dev") { transitive = false } + compileOnly("com.github.GTNewHorizons:GT5-Unofficial:5.09.52.422:dev") { transitive = false } compileOnly("com.github.GTNewHorizons:Avaritia:1.93:dev") { transitive = false } compileOnly("com.github.GTNewHorizons:Avaritiaddons:1.9.4-GTNH:dev") { transitive = false } compileOnly("com.github.GTNewHorizons:BuildCraftCompat:7.1.20:dev") { transitive = false } diff --git a/src/main/java/com/github/vfyjxf/nee/processor/GregTech5RecipeProcessor.java b/src/main/java/com/github/vfyjxf/nee/processor/GregTech5RecipeProcessor.java index 453a70a..8a066ca 100644 --- a/src/main/java/com/github/vfyjxf/nee/processor/GregTech5RecipeProcessor.java +++ b/src/main/java/com/github/vfyjxf/nee/processor/GregTech5RecipeProcessor.java @@ -123,8 +123,9 @@ public class GregTech5RecipeProcessor implements IRecipeProcessor { recipeOutputs.addAll(recipe.getOtherStacks(recipeIndex)); // remove output if it's chance != 10000 recipeOutputs.removeIf( - stack -> stack instanceof FixedPositionedStack && !(((FixedPositionedStack) stack).mChance == 10000 - || ((FixedPositionedStack) stack).mChance <= 0)); + stack -> stack instanceof FixedPositionedStack + && !(((FixedPositionedStack) stack).getChance() == PositionedStack.CHANCE_FULL + || ((FixedPositionedStack) stack).getChance() <= 0)); return recipeOutputs; } return recipeOutputs;