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.count += count;
|
||||
callback.complete(null);
|
||||
};
|
||||
}
|
||||
});
|
||||
} else {
|
||||
o.monitor.count += count;
|
||||
|
|
|
@ -35,8 +35,10 @@ class ResourceAccessorTransformer implements ClassHolderTransformer {
|
|||
if (cls.getName().equals(ResourceAccessor.class.getName())) {
|
||||
ResourceAccessorGenerator generator = new ResourceAccessorGenerator();
|
||||
for (MethodHolder method : cls.getMethods()) {
|
||||
if (!method.getName().equals("<init>")) {
|
||||
vm.add(method.getReference(), generator);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user