Fix bug where searching for recipes of stone would show meteors with no filler.

This commit is contained in:
koolkrafter5 committed 2025-03-29 10:48:29 -04:00
1 parent c0b4b797c8
commit 97666386b1
1 file changed
+1 -1
@@ -173,7 +173,7 @@ public class NEIMeteorRecipeHandler extends TemplateRecipeHandler {
if (meteor.ores.stream().anyMatch(m -> matchItem(result, m.getBlock()))) {
arecipes.add(new CachedMeteorRecipe(meteor, result));
}
if (meteor.filler.stream().anyMatch(m -> matchItem(result, m.getBlock()))) {
if (meteor.fillerChance > 0 && meteor.filler.stream().anyMatch(m -> matchItem(result, m.getBlock()))) {
arecipes.add(new CachedMeteorRecipe(meteor, result));
}
}