This commit is contained in:
Lasm Gratel authored and GitHub committed 2024-05-27 14:25:19 +02:00
1 parent d05a9eafb3
commit dc4426d9c9
4 files changed
+24 -6

No files matched your search

@@ -39,7 +39,7 @@ public class ProfilerRecipeHandler implements ICraftingHandler, IUsageHandler {
@Override
public int numRecipes() {
if (!NEIClientConfig.getBooleanSetting("inventory.profileRecipes")) return 0;
if (!NEIClientConfig.isProfileRecipeEnabled()) return 0;
return (int) Math.ceil(
((crafting ? GuiCraftingRecipe.craftinghandlers.size() : GuiUsageRecipe.usagehandlers.size()) - 1)