We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 11d5180 commit e357c00Copy full SHA for e357c00
src/main/java/com/falsepattern/falsetweaks/Compat.java
@@ -35,7 +35,6 @@
35
import net.minecraft.block.Block;
36
import net.minecraft.client.renderer.Tessellator;
37
import net.minecraft.launchwrapper.Launch;
38
-import net.minecraft.launchwrapper.LaunchClassLoader;
39
import net.minecraft.world.IBlockAccess;
40
import cpw.mods.fml.common.Loader;
41
@@ -47,7 +46,7 @@ private static class NEODYMIUM {
47
46
static {
48
boolean present;
49
try {
50
- present = ((LaunchClassLoader) Compat.class.getClassLoader()).getClassBytes("makamys.neodymium.Neodymium") != null;
+ present = Launch.classLoader.getClassBytes("makamys.neodymium.Neodymium") != null;
51
} catch (IOException e) {
52
e.printStackTrace();
53
present = false;
0 commit comments