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:
parent
6e4d4006c5
commit
dd1a84e0ae
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user