mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2024-12-22 16:14:10 -08:00
Fix reporting missing static field if containing class is never referenced directly
This commit is contained in:
parent
393ab3b09e
commit
5e37e2a45b
|
@ -141,7 +141,7 @@ public class MissingItemsProcessor {
|
||||||
|
|
||||||
private boolean checkClass(TextLocation location, String className) {
|
private boolean checkClass(TextLocation location, String className) {
|
||||||
if (!reachableClasses.contains(className)) {
|
if (!reachableClasses.contains(className)) {
|
||||||
return false;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!dependencyInfo.getClass(className).isMissing()) {
|
if (!dependencyInfo.getClass(className).isMissing()) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user