NPE, thanks Malon

This commit is contained in:
Michel Roux 2012-05-19 01:08:57 +02:00
parent a92b82e5da
commit d443b464d4

View File

@ -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