From 54aaa64ce2560508885c4f4fc8041ad91c713fae Mon Sep 17 00:00:00 2001 From: arcade_kappa Date: Sat, 1 Jun 2024 22:28:07 +0800 Subject: [PATCH] Fix XNet patch --- .../fugue/transformer/EnergyConnectorSettingsTransformer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/cleanroommc/fugue/transformer/EnergyConnectorSettingsTransformer.java b/src/main/java/com/cleanroommc/fugue/transformer/EnergyConnectorSettingsTransformer.java index ab95806..f460ce9 100644 --- a/src/main/java/com/cleanroommc/fugue/transformer/EnergyConnectorSettingsTransformer.java +++ b/src/main/java/com/cleanroommc/fugue/transformer/EnergyConnectorSettingsTransformer.java @@ -16,7 +16,7 @@ public byte[] transform(byte[] bytes) { { for (MethodNode methodNode : classNode.methods) { - if (methodNode.name.equals("")) { + if (methodNode.name.equals("")) { InsnList instructions = methodNode.instructions; if (instructions != null) {