From 64dc62912e33c946bdc5a2d25c0004a853102dc3 Mon Sep 17 00:00:00 2001 From: Hiraoka Date: Tue, 31 Aug 2021 22:50:37 +0900 Subject: [PATCH] Fixup to fbafe5c4 (node blunder colors) --- src/main/java/featurecat/lizzie/Config.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/featurecat/lizzie/Config.java b/src/main/java/featurecat/lizzie/Config.java index aac82f41c..abc9070cb 100644 --- a/src/main/java/featurecat/lizzie/Config.java +++ b/src/main/java/featurecat/lizzie/Config.java @@ -202,7 +202,7 @@ private boolean checkEmptyBlunderThresholds(JSONObject ui) { String theme = ui.optString("theme", ""); JSONArray blunderWinrateThresholds = ui.optJSONArray("blunder-winrate-thresholds"); JSONArray blunderNodeColors = ui.optJSONArray("blunder-node-colors"); - boolean isDefaultTheme = theme.equals("Default"); + boolean isDefaultTheme = theme.toLowerCase().equals("default"); boolean isEmptyBlunderWinrateThresholds = (blunderWinrateThresholds == null || blunderWinrateThresholds.length() == 0); boolean isEmptyBlunderNodeColors =