Minecraft-Console-Client icon indicating copy to clipboard operation
Minecraft-Console-Client copied to clipboard

[BUG] Updating a scoardbard crasches the Client

Open asdanjer opened this issue 1 year ago • 0 comments

Prerequisites

  • [X] I made sure I am running the latest development build
  • [X] I tried to look for similar issues before opening a new one
  • [X] I have set debugmessages=true in config to diagnose my issue
  • [X] I have redacted session tokens and passwords before attaching screenshots

Minecraft Version

1.20.4

Console Client Version

20240320-260

Expected Behavior

Notthing happens

Actual Behavior

The client crashes when anyone updates any scoreboard using the command /scoreboard players add/remove player-name scoreboard-name number

Unhandled exception. System.IO.InvalidDataException: Failed to process incoming packet of type SystemChat. (PacketID: 105, Protocol: 765, LoginPhase: False, InnerException: System.InvalidCastException). ---> System.InvalidCastException: Specified cast is not valid. at MinecraftClient.Protocol.Message.ChatParser.NbtToString(Dictionary2 nbt) at MinecraftClient.Protocol.Message.ChatParser.NbtToString(Dictionary2 nbt) at MinecraftClient.Protocol.Message.ChatParser.NbtToString(Dictionary2 nbt) at MinecraftClient.Protocol.Message.ChatParser.ParseText(Dictionary2 nbt) at MinecraftClient.Protocol.Handlers.DataTypes.ReadNextChat(Queue1 cache) at MinecraftClient.Protocol.Handlers.Protocol18Handler.HandlePlayPackets(Int32 packetId, Queue1 packetData) at MinecraftClient.Protocol.Handlers.Protocol18Handler.HandlePacket(Int32 packetId, Queue1 packetData) --- End of inner exception stack trace --- at MinecraftClient.Protocol.Handlers.Protocol18Handler.HandlePacket(Int32 packetId, Queue1 packetData) at MinecraftClient.Protocol.Handlers.Protocol18Handler.Updater(Object o) at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) --- End of stack trace from previous location --- at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)

Steps to Reproduce the bug

  1. Connect to a server
  2. exeute the comand on the same or anouther account
  3. MCC Crasches

Attach screenshot here (If applicable)

No response

Anythings that could help diagnosing the bug

No response

Device

Desktop

Operating System

Windows

Server Address (If applicable)

No response

asdanjer avatar Mar 28 '24 14:03 asdanjer