Skip to content

Commit

Permalink
I was pronouncing the goddamn thing wrong
Browse files Browse the repository at this point in the history
aglyuwagylawmygulwmayulm
  • Loading branch information
EnnuiL committed Oct 15, 2024
1 parent 3e156a7 commit 45de185
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ public boolean shouldApplyMixin(String targetClassName, String mixinClassName) {
id = id.substring(1, id.indexOf('.', 1));

boolean connectorLoaded = FabricLoader.getInstance().isModLoaded("connector");
if (id.equals("sintyra") && connectorLoaded) {
LOGGER.warn("Loaded Sintyra-specific mixins!");
if (id.equals("sinytra") && connectorLoaded) {
LOGGER.warn("Loaded Sinytra-specific mixins!");
return true;
} else if (id.equals("fabric")) {
return !connectorLoaded;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
package io.github.ennuil.ok_zoomer.mixin.sintyra;
package io.github.ennuil.ok_zoomer.mixin.sinytra;

import com.llamalad7.mixinextras.sugar.Local;
import com.llamalad7.mixinextras.sugar.ref.LocalDoubleRef;
import io.github.ennuil.ok_zoomer.zoom.Zoom;
import net.minecraft.client.MouseHandler;
import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.injection.At;
import org.spongepowered.asm.mixin.injection.Group;
import org.spongepowered.asm.mixin.injection.Inject;
import org.spongepowered.asm.mixin.injection.callback.CallbackInfo;

Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/ok_zoomer.mixins.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"common.GuiMixin",
"common.MouseHandlerMixin",
"fabric.MouseHandlerMixin",
"sintyra.MouseHandlerMixin"
"sinytra.MouseHandlerMixin"
],
"injectors": {
"defaultRequire": 1
Expand Down

0 comments on commit 45de185

Please sign in to comment.