mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-10-14 21:22:49 +00:00
Fixed a crash on Entity Metadata
Fixed a crash on Entity Metadata
This commit is contained in:
commit
a749cd7fc4
1 changed files with 2 additions and 2 deletions
|
|
@ -735,11 +735,11 @@ namespace MinecraftClient.Protocol.Handlers
|
|||
value = ReadNextString(cache);
|
||||
break;
|
||||
case EntityMetaDataType.Chat: // Chat
|
||||
value = ReadNextString(cache);
|
||||
value = ReadNextChat(cache);
|
||||
break;
|
||||
case EntityMetaDataType.OptionalChat: // Optional Chat
|
||||
if (ReadNextBool(cache))
|
||||
value = ReadNextString(cache);
|
||||
value = ReadNextChat(cache);
|
||||
break;
|
||||
case EntityMetaDataType.Slot: // Slot
|
||||
value = ReadNextItemSlot(cache, itemPalette);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue