mirror of
https://github.com/refactorinqq/SLC-1.8.9.git
synced 2024-11-10 07:21:32 +01:00
(fix) emote socket
This commit is contained in:
parent
d40779c555
commit
c1ced52bef
@ -5,7 +5,7 @@ import net.minecraft.client.gui.GuiButton;
|
||||
import net.minecraft.client.gui.ScaledResolution;
|
||||
import net.minecraft.util.ResourceLocation;
|
||||
import net.silentclient.client.Client;
|
||||
import net.silentclient.client.emotes.EmoteManager;
|
||||
import net.silentclient.client.emotes.socket.EmoteSocket;
|
||||
import net.silentclient.client.gui.SilentScreen;
|
||||
import net.silentclient.client.gui.elements.IconButton;
|
||||
import net.silentclient.client.gui.font.SilentFontRenderer;
|
||||
@ -123,7 +123,7 @@ public class EmoteMenuGui extends SilentScreen {
|
||||
boolean isHovered = MouseUtils.isInside(mouseX, mouseY, emoteX, emoteY, 80, 80) && !MouseUtils.isInside(mouseX, mouseY, emoteX + 80 - 3 - 10, emoteY + 3, 10, 10);
|
||||
|
||||
if(isHovered) {
|
||||
EmoteManager.sendEmote(mc.thePlayer.getName(), emote.getId());
|
||||
EmoteSocket.get().startEmote(emote.getId());
|
||||
mc.displayGuiScreen(null);
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user