mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2024-12-22 08:14:09 -08:00
This commit is contained in:
parent
869f252b69
commit
69857af688
|
@ -72,7 +72,7 @@ public class TObject {
|
|||
o.monitor.owner = thread;
|
||||
o.monitor.count += count;
|
||||
callback.complete(null);
|
||||
};
|
||||
}
|
||||
});
|
||||
} else {
|
||||
o.monitor.count += count;
|
||||
|
|
|
@ -35,7 +35,9 @@ class ResourceAccessorTransformer implements ClassHolderTransformer {
|
|||
if (cls.getName().equals(ResourceAccessor.class.getName())) {
|
||||
ResourceAccessorGenerator generator = new ResourceAccessorGenerator();
|
||||
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