forked from LogBlock/LogBlock
Typo in config error message
This commit is contained in:
@@ -147,7 +147,7 @@ public class Config
|
|||||||
try {
|
try {
|
||||||
logKillsLevel = LogKillsLevel.valueOf(config.getString("logging.logKillsLevel").toUpperCase());
|
logKillsLevel = LogKillsLevel.valueOf(config.getString("logging.logKillsLevel").toUpperCase());
|
||||||
} catch (final IllegalArgumentException ex) {
|
} catch (final IllegalArgumentException ex) {
|
||||||
throw new DataFormatException("lookup.toolblockID doesn't appear to be a valid log level. Allowed are 'PLAYERS', 'MONSTERS' and 'ANIMALS'");
|
throw new DataFormatException("logging.logKillsLevel doesn't appear to be a valid log level. Allowed are 'PLAYERS', 'MONSTERS' and 'ANIMALS'");
|
||||||
}
|
}
|
||||||
hiddenPlayers = new HashSet<String>();
|
hiddenPlayers = new HashSet<String>();
|
||||||
for (final String playerName : config.getStringList("logging.hiddenPlayers"))
|
for (final String playerName : config.getStringList("logging.hiddenPlayers"))
|
||||||
|
Reference in New Issue
Block a user