Guard against null messages.
This commit is contained in:
@@ -98,7 +98,7 @@ public enum Msg {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public String format(String s) {
|
public String format(String s) {
|
||||||
return toString().replace("%", s);
|
return (s == null) ? "" : toString().replace("%", s);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void load(ConfigurationSection config) {
|
static void load(ConfigurationSection config) {
|
||||||
|
|||||||
Reference in New Issue
Block a user