mirror of
https://git.neolegacy.dev/neoStudiosLCE/neoLegacy.git
synced 2026-07-15 18:42:34 +00:00
fix: crash when switching gamemodes using /gamemode
This commit is contained in:
@@ -30,11 +30,6 @@ GameCommandPacket::GameCommandPacket(EGameCommand command, byteArray data)
|
||||
}
|
||||
}
|
||||
|
||||
GameCommandPacket::~GameCommandPacket()
|
||||
{
|
||||
delete [] data.data;
|
||||
}
|
||||
|
||||
void GameCommandPacket::read(DataInputStream *dis)
|
||||
{
|
||||
command = static_cast<EGameCommand>(dis->readInt());
|
||||
|
||||
@@ -13,7 +13,6 @@ public:
|
||||
|
||||
GameCommandPacket();
|
||||
GameCommandPacket(EGameCommand command, byteArray data);
|
||||
~GameCommandPacket();
|
||||
|
||||
virtual void read(DataInputStream *dis);
|
||||
virtual void write(DataOutputStream *dos);
|
||||
|
||||
Reference in New Issue
Block a user