Skip to content

Commit

Permalink
oops
Browse files Browse the repository at this point in the history
  • Loading branch information
FalsePattern committed Feb 3, 2025
1 parent 11d5180 commit e357c00
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/main/java/com/falsepattern/falsetweaks/Compat.java
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@
import net.minecraft.block.Block;
import net.minecraft.client.renderer.Tessellator;
import net.minecraft.launchwrapper.Launch;
import net.minecraft.launchwrapper.LaunchClassLoader;
import net.minecraft.world.IBlockAccess;
import cpw.mods.fml.common.Loader;

Expand All @@ -47,7 +46,7 @@ private static class NEODYMIUM {
static {
boolean present;
try {
present = ((LaunchClassLoader) Compat.class.getClassLoader()).getClassBytes("makamys.neodymium.Neodymium") != null;
present = Launch.classLoader.getClassBytes("makamys.neodymium.Neodymium") != null;
} catch (IOException e) {
e.printStackTrace();
present = false;
Expand Down

0 comments on commit e357c00

Please sign in to comment.