Maybe Fix

This commit is contained in:
kirillsaint 2023-12-31 12:31:40 +06:00
parent a36a10df1f
commit 173529599e

View File

@ -3,7 +3,6 @@ package net.silentclient.client.mixin.mixins;
import net.minecraft.client.Minecraft;
import net.minecraft.client.gui.GuiScreen;
import net.minecraft.client.gui.inventory.GuiContainer;
import net.minecraft.util.ResourceLocation;
import net.silentclient.client.Client;
import net.silentclient.client.cosmetics.StaticResourceLocation;
import net.silentclient.client.gui.hud.Watermark;
@ -61,7 +60,7 @@ public abstract class GuiContainerMixin extends GuiScreen {
@Inject(method = "mouseClicked", at = @At("TAIL"))
private void silent$checkHotbarClicks(int mouseX, int mouseY, int mouseButton, CallbackInfo ci) {
checkHotbarKeys(mouseButton - 100);
// checkHotbarKeys(mouseButton - 100);
}
@Redirect(method = "drawScreen", at = @At(value = "INVOKE", target = "Lnet/minecraft/client/gui/inventory/GuiContainer;drawDefaultBackground()V"))