diff options
author | DJtheRedstoner <52044242+DJtheRedstoner@users.noreply.github.com> | 2021-07-15 20:40:07 -0400 |
---|---|---|
committer | DJtheRedstoner <52044242+DJtheRedstoner@users.noreply.github.com> | 2021-07-15 20:40:07 -0400 |
commit | ae2ea9373b8b7cdd1530062d0a42b615f9b94ce3 (patch) | |
tree | 412f69c50d572089d12d2e57f483a91ea5de15dd /src/main/java/me/djtheredstoner/perspectivemod/forge | |
parent | 7a42b12aa3bbb389dd1cdc9c1bd2d81b8a4da2bb (diff) | |
download | PerspectiveModv4-ae2ea9373b8b7cdd1530062d0a42b615f9b94ce3.tar.gz PerspectiveModv4-ae2ea9373b8b7cdd1530062d0a42b615f9b94ce3.tar.bz2 PerspectiveModv4-ae2ea9373b8b7cdd1530062d0a42b615f9b94ce3.zip |
Update to Essential
Diffstat (limited to 'src/main/java/me/djtheredstoner/perspectivemod/forge')
-rw-r--r-- | src/main/java/me/djtheredstoner/perspectivemod/forge/PerspectiveModTweaker.java | 12 |
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()}; } |