Fixed hiddenPlayers

This commit is contained in:
Robin Kupper
2011-06-09 20:47:57 +02:00
parent 2fae8cc8b6
commit 6e3b47f5be

View File

@@ -167,7 +167,7 @@ public class Config
throw new DataFormatException("lookup.toolblockID doesn't appear to be a valid log level. Allowed are 'PLAYERS', 'MONSTERS' and 'ANIMALS'");
}
hiddenPlayers = new HashSet<Integer>();
for (final String playerName : config.getStringList("hiddenPlayers", new ArrayList<String>()))
for (final String playerName : config.getStringList("logging.hiddenPlayers", new ArrayList<String>()))
hiddenPlayers.add(playerName.hashCode());
dontRollback = new HashSet<Integer>(config.getIntList("rollback.dontRollback", null));
replaceAnyway = new HashSet<Integer>(config.getIntList("rollback.replaceAnyway", null));