mirror of
https://github.com/neoStudiosLCE/neoLegacy.git
synced 2026-06-09 02:22:54 +00:00
fix: crash when switching gamemodes using /gamemode
This commit is contained in:
parent
7fb07ec8d4
commit
d6c1ef7ab9
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue