aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/me/djtheredstoner/perspectivemod/forge/PerspectiveModTweaker.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/me/djtheredstoner/perspectivemod/forge/PerspectiveModTweaker.java')
-rw-r--r--src/main/java/me/djtheredstoner/perspectivemod/forge/PerspectiveModTweaker.java12
1 files changed, 0 insertions, 12 deletions
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()};
}