Skip to content

Commit c8a7555

Browse files
committed
prevent plugin crash if currency symbol configure incorrect
1 parent 52e0de4 commit c8a7555

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/maxgamer/quickshop/util/economyformatter/EconomyFormatter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ public ReloadResult reloadModule() {
6262
String[] splits = entry.split(";", 2);
6363
if (splits.length < 2) {
6464
plugin.getLogger().warning("Invalid entry in alternate-currency-symbol-list: " + entry);
65-
continue;
65+
return;
6666
}
6767
CURRENCY_SYMBOL_MAPPING.put(splits[0], splits[1]);
6868
});

0 commit comments

Comments
 (0)