Compare commits

..
Author SHA1 Message Date
slprime f4601e7eed Disable badge by default (#907) 2026-04-04 21:12:05 +03:00
2 changed files with 2 additions and 2 deletions

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;