From a9cbfcbd401ed3c54f3abbe20f3771ecb439d3db Mon Sep 17 00:00:00 2001 From: Hiraoka Date: Mon, 12 Nov 2018 21:23:35 +0900 Subject: [PATCH] fix: #290 (modify alpha) was broken after #378 (custom theme) --- src/main/java/featurecat/lizzie/gui/BoardRenderer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/featurecat/lizzie/gui/BoardRenderer.java b/src/main/java/featurecat/lizzie/gui/BoardRenderer.java index 67651c5ea..dfce3096a 100644 --- a/src/main/java/featurecat/lizzie/gui/BoardRenderer.java +++ b/src/main/java/featurecat/lizzie/gui/BoardRenderer.java @@ -78,7 +78,7 @@ public class BoardRenderer { public BoardRenderer(boolean isMainBoard) { uiConfig = Lizzie.config.uiConfig; - uiPersist = Lizzie.config.persisted; + uiPersist = Lizzie.config.persisted.getJSONObject("ui-persist"); try { maxAlpha = uiPersist.getInt("max-alpha"); } catch (JSONException e) {