third batch of fixes

This commit is contained in:
Leah Anderson
2026-03-02 11:28:02 -07:00
parent 87c2aa0dba
commit e729d27372
6 changed files with 38 additions and 38 deletions

View File

@@ -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)