Fix class name in asm transformer
This commit is contained in:
parent
b336a8cb36
commit
9809602b7f
|
@ -98,7 +98,6 @@ public class Respackopts implements ClientModInitializer {
|
|||
} catch (IOException e) {
|
||||
LOGGER.error("Could not initialize config directory", e);
|
||||
}
|
||||
//if (DASHLOADER_PRESENT) DashLoaderCompat.hookDashLoader();
|
||||
if (FabricLoader.getInstance().isDevelopmentEnvironment())
|
||||
SAVE_ACTIONS.add(() -> LOGGER.info("Save"));
|
||||
SAVE_ACTIONS.add(() -> {
|
||||
|
|
|
@ -93,7 +93,7 @@ public class Plugin implements IMixinConfigPlugin {
|
|||
boolean found = false;
|
||||
for (MethodNode method : klass.methods) {
|
||||
if (method.name.equals("reload")) {
|
||||
method.instructions.insert(new MethodInsnNode(Opcodes.INVOKESTATIC, "io/gitlab/jfronny/respackopts/integration/dashloader/DashLoaderCompat", "injection", "()V"));
|
||||
method.instructions.insert(new MethodInsnNode(Opcodes.INVOKESTATIC, "io/gitlab/jfronny/respackopts/integration/DashLoaderCompat", "injection", "()V"));
|
||||
found = true;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user