diff --git a/src/main/java/WayofTime/alchemicalWizardry/client/nei/NEIMeteorRecipeHandler.java b/src/main/java/WayofTime/alchemicalWizardry/client/nei/NEIMeteorRecipeHandler.java index acaeacd8..137ede95 100644 --- a/src/main/java/WayofTime/alchemicalWizardry/client/nei/NEIMeteorRecipeHandler.java +++ b/src/main/java/WayofTime/alchemicalWizardry/client/nei/NEIMeteorRecipeHandler.java @@ -37,14 +37,7 @@ public class NEIMeteorRecipeHandler extends TemplateRecipeHandler { int row = 0; int col = 0; - float totalMeteorWeight = 0.0f; - for (MeteorParadigmComponent component : meteor.componentList) { - ItemStack stack = component.getValidBlockParadigm(); - if (stack == null) { - continue; - } - totalMeteorWeight += component.getChance(); - } + float totalMeteorWeight = meteor.getTotalMeteorWeight(); for (MeteorParadigmComponent component : meteor.componentList) { ItemStack stack = component.getValidBlockParadigm();