Skip to content

Commit

Permalink
fixed full message getting
Browse files Browse the repository at this point in the history
  • Loading branch information
ImToggle committed Jul 24, 2024
1 parent fe4fc7e commit 1f014d5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,12 @@ public class ChatLineMixin implements ChatLineHook {
private void onInit(int i, IChatComponent iChatComponent, int chatId, CallbackInfo ci) {
chatting$lastUniqueId++;
chatting$uniqueId = chatting$lastUniqueId;
chatting$fullMessage = ChatHook.currentLine;
if (chatting$lastChatLine == ChatHook.currentLine) {
if (chatting$lastPlayerInfo != null) {
return;
}
}
chatting$fullMessage = ChatHook.currentLine;
chatting$lastChatLine = chatting$fullMessage;
chatting$chatLines.add(new WeakReference<>((ChatLine) (Object) this));
NetHandlerPlayClient netHandler = Minecraft.getMinecraft().getNetHandler();
Expand Down

0 comments on commit 1f014d5

Please sign in to comment.