From f9240de62e2067b971a7405af827a7ad97b16da5 Mon Sep 17 00:00:00 2001 From: Prototik Date: Thu, 14 May 2015 20:13:51 +0700 Subject: [PATCH] Fix typo --- patches/cpw/mods/fml/relauncher/CoreModManager.java.patch | 6 +++--- ...ClassTransformer.java => KCauldronClassTransformer.java} | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) rename src/main/java/kcauldron/{KCauldonClassTransformer.java => KCauldronClassTransformer.java} (96%) diff --git a/patches/cpw/mods/fml/relauncher/CoreModManager.java.patch b/patches/cpw/mods/fml/relauncher/CoreModManager.java.patch index 3f572fc..874a0a0 100644 --- a/patches/cpw/mods/fml/relauncher/CoreModManager.java.patch +++ b/patches/cpw/mods/fml/relauncher/CoreModManager.java.patch @@ -5,7 +5,7 @@ import java.util.jar.Attributes; import java.util.jar.JarFile; + -+import kcauldron.KCauldonClassTransformer; ++import kcauldron.KCauldronClassTransformer; import net.minecraft.launchwrapper.ITweaker; import net.minecraft.launchwrapper.Launch; import net.minecraft.launchwrapper.LaunchClassLoader; @@ -29,8 +29,8 @@ { + // Cauldron start + // Register own ClassTransformer for some needs -+ classLoader.registerTransformer("kcauldron.KCauldonClassTransformer"); -+ KCauldonClassTransformer.DEV = deobfuscatedEnvironment; ++ classLoader.registerTransformer("kcauldron.KCauldronClassTransformer"); ++ KCauldronClassTransformer.DEV = deobfuscatedEnvironment; + // Cauldron end FMLRelaunchLog.fine("Injecting coremod %s {%s} class transformers", name, coreModInstance.getClass().getName()); if (coreModInstance.getASMTransformerClass() != null) for (String transformer : coreModInstance.getASMTransformerClass()) diff --git a/src/main/java/kcauldron/KCauldonClassTransformer.java b/src/main/java/kcauldron/KCauldronClassTransformer.java similarity index 96% rename from src/main/java/kcauldron/KCauldonClassTransformer.java rename to src/main/java/kcauldron/KCauldronClassTransformer.java index aaa4354..49f3d80 100644 --- a/src/main/java/kcauldron/KCauldonClassTransformer.java +++ b/src/main/java/kcauldron/KCauldronClassTransformer.java @@ -9,7 +9,7 @@ import org.objectweb.asm.MethodVisitor; import net.minecraft.launchwrapper.IClassTransformer; import static org.objectweb.asm.Opcodes.*; -public class KCauldonClassTransformer implements IClassTransformer { +public class KCauldronClassTransformer implements IClassTransformer { public static boolean DEV; @Override