1
0
mirror of https://github.com/demodude4u/Factorio-FBSR.git synced 2024-11-24 08:12:21 +02:00

Fixed the order of levels in reporting

This commit is contained in:
Weston Rye (Demod) 2017-06-13 23:07:33 -04:00
parent 6e4d4006c5
commit dd1a84e0ae

View File

@ -65,15 +65,15 @@ public class BlueprintReporting {
}
public Level getLevel() {
if (!exceptions.isEmpty()) {
return Level.ERROR;
}
if (!warnings.isEmpty()) {
return Level.WARN;
}
if (debug.isPresent()) {
return Level.DEBUG;
}
if (!exceptions.isEmpty()) {
return Level.ERROR;
}
return Level.INFO;
}