diff --git a/refinedstorage-common/src/main/java/com/refinedmods/refinedstorage/common/autocrafting/preview/AutocraftingPreviewScreen.java b/refinedstorage-common/src/main/java/com/refinedmods/refinedstorage/common/autocrafting/preview/AutocraftingPreviewScreen.java index 6f390824a..c503766d3 100644 --- a/refinedstorage-common/src/main/java/com/refinedmods/refinedstorage/common/autocrafting/preview/AutocraftingPreviewScreen.java +++ b/refinedstorage-common/src/main/java/com/refinedmods/refinedstorage/common/autocrafting/preview/AutocraftingPreviewScreen.java @@ -164,10 +164,12 @@ protected void init() { getMenu().loadCurrentRequest(); } + final boolean wasActive = maxButton == null || maxButton.active; maxButton = Button.builder(MAX, this::requestMaxAmount) .size(22, 15) .pos(leftPos + 185 - 1, topPos + 49 - 1) .build(); + maxButton.active = wasActive; addRenderableWidget(maxButton); getExclusionZones().add(new Rect2i(