mirror of
https://github.com/LegacyModdingMC/UniMix.git
synced 2026-11-25 00:34:21 +00:00
Fix staticness check and functionality of ModifyVariable in constructors
This commit is contained in:
1 parent
ce622cdfa6
commit
66bdb7b3b0
3 files changed
+44
-9
No files matched your search
@@ -142,7 +142,7 @@ public final class Locals {
|
||||
if (classInfo == null) {
|
||||
throw new LVTGeneratorError("Could not load class metadata for " + classNode.name + " generating LVT for " + method.name);
|
||||
}
|
||||
Method methodInfo = classInfo.findMethod(method);
|
||||
Method methodInfo = classInfo.findMethod(method, method.access | ClassInfo.INCLUDE_INITIALISERS);
|
||||
if (methodInfo == null) {
|
||||
throw new LVTGeneratorError("Could not locate method metadata for " + method.name + " generating LVT in " + classNode.name);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user