mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/GabsPuNs-MinecraftConsoles.git
synced 2026-07-10 02:18:12 +00:00
Use BYTE Win Typedef instead of byte typedef from Minecraft.World
This commit is contained in:
@@ -47,7 +47,7 @@ void ComplexItemDataPacket::write(DataOutputStream *dos) //throws IOException
|
||||
dos->writeShort(itemId);
|
||||
dos->writeUnsignedShort(data.length);
|
||||
|
||||
byteArray ba( (byte*)data.data, data.length );
|
||||
byteArray ba( (BYTE*)data.data, data.length );
|
||||
dos->write(ba);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user