fix: remove byte type alias

This commit is contained in:
Tropical
2026-03-06 05:03:37 -06:00
parent 09eae49d21
commit 15af35eef2
208 changed files with 700 additions and 701 deletions

View File

@@ -144,16 +144,16 @@ void LoginPacket::write(DataOutputStream *dos) //throws IOException
}
dos->writeLong(seed);
dos->writeInt(gameType);
dos->writeByte((byte)dimension);
dos->writeByte((byte)mapHeight);
dos->writeByte((byte)maxPlayers);
dos->writeByte((uint8_t)dimension);
dos->writeByte((uint8_t)mapHeight);
dos->writeByte((uint8_t)maxPlayers);
dos->writePlayerUID(m_offlineXuid);
dos->writePlayerUID(m_onlineXuid);
dos->writeBoolean(m_friendsOnlyUGC);
dos->writeInt(m_ugcPlayersVersion);
dos->writeByte((byte)difficulty);
dos->writeByte((uint8_t)difficulty);
dos->writeInt(m_multiplayerInstanceId);
dos->writeByte((byte)m_playerIndex);
dos->writeByte((uint8_t)m_playerIndex);
dos->writeInt(m_playerSkinId);
dos->writeInt(m_playerCapeId);
dos->writeBoolean(m_isGuest);