Skip to content

Commit

Permalink
fix owo conditionalness
Browse files Browse the repository at this point in the history
  • Loading branch information
sisby-folk committed Aug 30, 2023
1 parent aef7e52 commit 37e59da
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
org.gradle.jvmargs=-Xmx4G
org.gradle.parallel=true
# Mod Properties
version=2.7.0
version=2.7.1
maven_group=folk.sisby
archives_base_name=switchy
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package folk.sisby.switchy.ui.mixin.compat;

import folk.sisby.switchy.client.SwitchyClient;
import net.fabricmc.loader.api.FabricLoader;
import org.objectweb.asm.tree.ClassNode;
import org.spongepowered.asm.mixin.extensibility.IMixinConfigPlugin;
Expand Down Expand Up @@ -27,6 +28,7 @@ public String getRefMapperConfig() {

@Override
public boolean shouldApplyMixin(String targetClassName, String mixinClassName) {
SwitchyClient.LOGGER.info(mixinClassName);
if (mixinClassName.startsWith("folk.sisby.switchy.ui.mixin.compat.")) {
int startModID = mixinClassName.indexOf(".compat.") + ".compat.".length();
int endModID = mixinClassName.indexOf('.', startModID);
Expand Down

0 comments on commit 37e59da

Please sign in to comment.