mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2025-01-03 05:44:10 -08:00
Correct problem severity for warning
This commit is contained in:
parent
14ca8ecdbb
commit
a8641de39b
|
@ -35,7 +35,7 @@ public class AccumulationDiagnostics implements Diagnostics, ProblemProvider {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void warning(CallLocation location, String error, Object... params) {
|
public void warning(CallLocation location, String error, Object... params) {
|
||||||
Problem problem = new Problem(ProblemSeverity.ERROR, location, error, params);
|
Problem problem = new Problem(ProblemSeverity.WARNING, location, error, params);
|
||||||
problems.add(problem);
|
problems.add(problem);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user