mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-07-15 19:38:19 +00:00
third batch of fixes
This commit is contained in:
@@ -27,14 +27,14 @@ void InteractPacket::read(DataInputStream *dis) //throws IOException
|
||||
{
|
||||
source = dis->readInt();
|
||||
target = dis->readInt();
|
||||
action = dis->readByte();
|
||||
action = (int)dis->readByte();
|
||||
}
|
||||
|
||||
void InteractPacket::write(DataOutputStream *dos) // throws IOException
|
||||
{
|
||||
dos->writeInt(source);
|
||||
dos->writeInt(target);
|
||||
dos->writeByte(action);
|
||||
dos->writeByte((std::byte)action);
|
||||
}
|
||||
|
||||
void InteractPacket::handle(PacketListener *listener)
|
||||
|
||||
Reference in New Issue
Block a user