Guard against null messages.

This commit is contained in:
garbagemule
2014-04-12 15:52:47 +02:00
parent b5fbf09f8f
commit 7de3e55d58
+1 -1
View File
@@ -98,7 +98,7 @@ public enum Msg {
}
public String format(String s) {
return toString().replace("%", s);
return (s == null) ? "" : toString().replace("%", s);
}
static void load(ConfigurationSection config) {