Skip to content

Commit

Permalink
Update SkylandMixinPlugin.java
Browse files Browse the repository at this point in the history
  • Loading branch information
Gu-ZT committed Jul 30, 2024
1 parent 4ee6806 commit 2627867
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package net.cjsah.skyland.mixin.plugin;

import dev.dubhe.anvilcraft.mixin.plugin.AnvilCraftMixinPlugin;
import org.objectweb.asm.tree.ClassNode;
import org.spongepowered.asm.mixin.extensibility.IMixinConfigPlugin;
import org.spongepowered.asm.mixin.extensibility.IMixinInfo;
Expand All @@ -13,7 +12,7 @@ public class SkylandMixinPlugin implements IMixinConfigPlugin {

@SuppressWarnings("SameParameterValue")
private boolean isLoaded(String clazz) {
return AnvilCraftMixinPlugin.class.getClassLoader().getResource(clazz) != null;
return SkylandMixinPlugin.class.getClassLoader().getResource(clazz) != null;
}

@Override
Expand Down

0 comments on commit 2627867

Please sign in to comment.