Skip to content

Commit e357c00

Browse files
committed
oops
1 parent 11d5180 commit e357c00

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/main/java/com/falsepattern/falsetweaks/Compat.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@
3535
import net.minecraft.block.Block;
3636
import net.minecraft.client.renderer.Tessellator;
3737
import net.minecraft.launchwrapper.Launch;
38-
import net.minecraft.launchwrapper.LaunchClassLoader;
3938
import net.minecraft.world.IBlockAccess;
4039
import cpw.mods.fml.common.Loader;
4140

@@ -47,7 +46,7 @@ private static class NEODYMIUM {
4746
static {
4847
boolean present;
4948
try {
50-
present = ((LaunchClassLoader) Compat.class.getClassLoader()).getClassBytes("makamys.neodymium.Neodymium") != null;
49+
present = Launch.classLoader.getClassBytes("makamys.neodymium.Neodymium") != null;
5150
} catch (IOException e) {
5251
e.printStackTrace();
5352
present = false;

0 commit comments

Comments
 (0)