aboutsummaryrefslogtreecommitdiff
path: root/src/client
diff options
context:
space:
mode:
authorAnhgelus Morhtuuzh <william@herges.fr>2026-03-17 14:30:43 +0100
committerAnhgelus Morhtuuzh <william@herges.fr>2026-03-17 18:06:18 +0100
commit365a7e7906c3623eddef7401b27c1db635439787 (patch)
tree34e88d47c6d6f4d59d3e663e5cc2aea9f0b667d2 /src/client
parent66856d971b331b3986a17306b9812ac52f0fa3bf (diff)
fix(): cannot launch game
invalid version number invalid identifier for gamerules infinite recursive mixin
Diffstat (limited to 'src/client')
-rw-r--r--src/client/java/world/anhgelus/molehunt/client/mixin/NoCustomizableSkinOverlay.java6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/client/java/world/anhgelus/molehunt/client/mixin/NoCustomizableSkinOverlay.java b/src/client/java/world/anhgelus/molehunt/client/mixin/NoCustomizableSkinOverlay.java
index af299ea..bdba025 100644
--- a/src/client/java/world/anhgelus/molehunt/client/mixin/NoCustomizableSkinOverlay.java
+++ b/src/client/java/world/anhgelus/molehunt/client/mixin/NoCustomizableSkinOverlay.java
@@ -3,7 +3,6 @@ package world.anhgelus.molehunt.client.mixin;
import net.minecraft.client.Options;
import net.minecraft.world.entity.player.PlayerModelPart;
import org.spongepowered.asm.mixin.Mixin;
-import org.spongepowered.asm.mixin.Shadow;
import org.spongepowered.asm.mixin.injection.At;
import org.spongepowered.asm.mixin.injection.Inject;
import org.spongepowered.asm.mixin.injection.callback.CallbackInfo;
@@ -11,14 +10,9 @@ import world.anhgelus.molehunt.client.MolehuntClient;
@Mixin(Options.class)
public abstract class NoCustomizableSkinOverlay {
- @Shadow
- public void setModelPart(PlayerModelPart part, boolean enabled) {}
-
@Inject(at = @At("HEAD"), method = "setModelPart", cancellable = true)
public void togglePlayerModelPart(PlayerModelPart part, boolean enabled, CallbackInfo ci) {
if (MolehuntClient.showSkins()) return;
- setModelPart(part, true);
- ((Options) (Object) this).broadcastOptions();
ci.cancel();
}
}