mirror of
https://github.com/LegacyModdingMC/UniMix.git
synced 2026-11-28 04:25:37 +00:00
Display correct node type in printLocals
This commit is contained in:
1 parent
8f0bb79ae5
commit
d2105c6359
1 file changed
+2
-2
@@ -594,8 +594,8 @@ public class CallbackInjector extends Injector {
|
||||
printer.kv("Target Max LOCALS", callback.target.getMaxLocals());
|
||||
printer.kv("Initial Frame Size", callback.frameSize);
|
||||
printer.kv("Callback Name", this.info.getMethodName());
|
||||
printer.kv("Instruction", "%s %s", callback.node.getClass().getSimpleName(),
|
||||
Bytecode.getOpcodeName(callback.node.getCurrentTarget().getOpcode()));
|
||||
printer.kv("Instruction", "%s %s", callback.node.getCurrentTarget().getClass().getSimpleName(),
|
||||
Bytecode.describeNode(callback.node.getCurrentTarget()));
|
||||
printer.hr();
|
||||
if (callback.locals.length > callback.frameSize) {
|
||||
printer.add(" %s %20s %s", "LOCAL", "TYPE", "NAME");
|
||||
|
||||
Reference in new issue
Block a user