Write to console if NOT suppressed.

This commit is contained in:
asofold 2013-06-04 19:21:15 +02:00
parent f6819dc6d6
commit fc6a20ae0d

View File

@ -463,7 +463,7 @@ public class DataManager implements Listener, INotifyReload, INeedConfig, Compon
final int storedSize = this.onlinePlayers.size(); final int storedSize = this.onlinePlayers.size();
if (missing != 0 || changed != 0 || expectedSize != storedSize){ if (missing != 0 || changed != 0 || expectedSize != storedSize){
foundInconsistencies ++; foundInconsistencies ++;
if (ConfigManager.getConfigFile().getBoolean(ConfPaths.DATA_CONSISTENCYCHECKS_SUPPRESSWARNINGS)){ if (!ConfigManager.getConfigFile().getBoolean(ConfPaths.DATA_CONSISTENCYCHECKS_SUPPRESSWARNINGS)){
final List<String> details = new LinkedList<String>(); final List<String> details = new LinkedList<String>();
if (missing != 0){ if (missing != 0){
details.add("missing online players (" + missing + ")"); details.add("missing online players (" + missing + ")");