mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2024-12-22 16:14:10 -08:00
This commit is contained in:
parent
869f252b69
commit
69857af688
|
@ -72,7 +72,7 @@ public class TObject {
|
||||||
o.monitor.owner = thread;
|
o.monitor.owner = thread;
|
||||||
o.monitor.count += count;
|
o.monitor.count += count;
|
||||||
callback.complete(null);
|
callback.complete(null);
|
||||||
};
|
}
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
o.monitor.count += count;
|
o.monitor.count += count;
|
||||||
|
|
|
@ -35,7 +35,9 @@ class ResourceAccessorTransformer implements ClassHolderTransformer {
|
||||||
if (cls.getName().equals(ResourceAccessor.class.getName())) {
|
if (cls.getName().equals(ResourceAccessor.class.getName())) {
|
||||||
ResourceAccessorGenerator generator = new ResourceAccessorGenerator();
|
ResourceAccessorGenerator generator = new ResourceAccessorGenerator();
|
||||||
for (MethodHolder method : cls.getMethods()) {
|
for (MethodHolder method : cls.getMethods()) {
|
||||||
vm.add(method.getReference(), generator);
|
if (!method.getName().equals("<init>")) {
|
||||||
|
vm.add(method.getReference(), generator);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user