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

@@ -28,7 +28,7 @@ void LevelEventPacket::read(DataInputStream *dis) //throws IOException
{
type = dis->readInt();
x = dis->readInt();
y = (int)(dis->readByte() & (byte)0xff);
y = (int)(dis->readByte() & (uint8_t)0xff);
z = dis->readInt();
data = dis->readInt();
}
@@ -37,7 +37,7 @@ void LevelEventPacket::write(DataOutputStream *dos) //throws IOException
{
dos->writeInt(type);
dos->writeInt(x);
dos->writeByte((byte)(y & 0xff));
dos->writeByte((uint8_t)(y & 0xff));
dos->writeInt(z);
dos->writeInt(data);
}