Disable badge by default (#907)

This commit is contained in:
slprime authored and GitHub committed 2026-04-04 21:12:05 +03:00
1 parent ba48806667
commit f4601e7eed
2 files changed
+2 -2

No files matched your search

@@ -103,7 +103,7 @@ public class IMCHandler {
info.setUseCustomScroll(tag.hasKey("useCustomScroll") && tag.getBoolean("useCustomScroll"));
info.setShowFavoritesButton(!tag.hasKey("showFavoritesButton") || tag.getBoolean("showFavoritesButton"));
info.setShowOverlayButton(!tag.hasKey("showOverlayButton") || tag.getBoolean("showOverlayButton"));
info.setShowBadge(!tag.hasKey("showBadge") || tag.getBoolean("showBadge"));
info.setShowBadge(tag.hasKey("showBadge") && tag.getBoolean("showBadge"));
GuiRecipeTab.handlerAdderFromIMC.remove(handler);
GuiRecipeTab.handlerAdderFromIMC.put(handler, info);
@@ -30,7 +30,7 @@ public class HandlerInfo {
private boolean multipleWidgetsAllowed = false;
private boolean showFavoritesButton = true;
private boolean showOverlayButton = true;
private boolean showBadge = true;
private boolean showBadge = false;
private boolean useCustomScroll = false;
private ItemStack itemStack = null;