mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-06-05 01:04:50 +00:00
Address review feedback on protocol types
This commit is contained in:
@@ -38,7 +38,7 @@ PlayerInfoPacket::PlayerInfoPacket(std::shared_ptr<ServerPlayer> player)
|
||||
|
||||
void PlayerInfoPacket::read(DataInputStream *dis)
|
||||
{
|
||||
m_networkSmallId = static_cast<std::uint8_t>(dis->readByte());
|
||||
m_networkSmallId = dis->readByte();
|
||||
m_playerColourIndex = dis->readShort();
|
||||
m_playerPrivileges = dis->readInt();
|
||||
m_entityId = dis->readInt();
|
||||
|
||||
Reference in New Issue
Block a user