From ae2ea9373b8b7cdd1530062d0a42b615f9b94ce3 Mon Sep 17 00:00:00 2001 From: DJtheRedstoner <52044242+DJtheRedstoner@users.noreply.github.com> Date: Thu, 15 Jul 2021 20:40:07 -0400 Subject: Update to Essential --- .../perspectivemod/forge/PerspectiveModTweaker.java | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'src/main/java/me/djtheredstoner/perspectivemod/forge/PerspectiveModTweaker.java') diff --git a/src/main/java/me/djtheredstoner/perspectivemod/forge/PerspectiveModTweaker.java b/src/main/java/me/djtheredstoner/perspectivemod/forge/PerspectiveModTweaker.java index f5128f0..695f7a2 100644 --- a/src/main/java/me/djtheredstoner/perspectivemod/forge/PerspectiveModTweaker.java +++ b/src/main/java/me/djtheredstoner/perspectivemod/forge/PerspectiveModTweaker.java @@ -1,6 +1,5 @@ package me.djtheredstoner.perspectivemod.forge; -import me.djtheredstoner.perspectivemod.ModCoreInstaller; import me.djtheredstoner.perspectivemod.asm.ClassTransformer; import net.minecraft.launchwrapper.Launch; import net.minecraftforge.common.ForgeVersion; @@ -53,17 +52,6 @@ public class PerspectiveModTweaker implements IFMLLoadingPlugin { @Override public String[] getASMTransformerClass() { - int initialize = ModCoreInstaller.initialize(Launch.minecraftHome, "1.8.9"); - - if (ModCoreInstaller.isErrored() || initialize != 0 && initialize != -1) { - System.out.println("Failed to load Sk1er Modcore - " + initialize + " - " + ModCoreInstaller.getError()); - } - // If true the classes are loaded - if (ModCoreInstaller.isIsRunningModCore()) { - // register ModCore's class transformer - return new String[]{"club.sk1er.mods.core.forge.ClassTransformer", ClassTransformer.class.getName()}; - } - return new String[]{ClassTransformer.class.getName()}; } -- cgit