add config

This commit is contained in:
miozune committed 2022-01-10 04:06:24 +09:00
1 parent c75420b31d
commit 29fe442671
6 files changed
+26 -9

No files matched your search

@@ -29,7 +29,9 @@ public class RecipeCatalysts {
}
public static List<PositionedStack> getRecipeCatalysts(Class<? extends IRecipeHandler> handler) {
if (!NEIClientConfig.areJEIStyleTabsVisible()) return Collections.emptyList();
if (!NEIClientConfig.areJEIStyleTabsVisible() || !NEIClientConfig.areJEIStyleRecipeCatalystsVisible()) {
return Collections.emptyList();
}
return positionedRecipeCatalystMap.getOrDefault(handler, Collections.emptyList());
}