diff --git a/src/main/java/com/gmail/nossr50/config/Config.java b/src/main/java/com/gmail/nossr50/config/Config.java index 09d699c94..ccaa904e9 100644 --- a/src/main/java/com/gmail/nossr50/config/Config.java +++ b/src/main/java/com/gmail/nossr50/config/Config.java @@ -286,7 +286,7 @@ public class Config extends AutoUpdateConfigLoader { str = String.valueOf(cfg.getInt(key)); } - if (str == "0") { + if (str.equals("0")) { str = "No value set for '" + key + "'"; } return str;