NPE, thanks Malon
This commit is contained in:
parent
a92b82e5da
commit
d443b464d4
@ -285,7 +285,7 @@ public class ConfigFile implements PermsConfig {
|
||||
|
||||
@Override
|
||||
public String getMessage(String key) {
|
||||
return plugin.getConfig().getString("messages/" + key, plugin.getConfig().getString("messages/all")).replace('&', '\u00A7');
|
||||
return plugin.getConfig().getString("messages/" + key, plugin.getConfig().getString("messages/all", "")).replace('&', '\u00A7');
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user