diff options
Diffstat (limited to 'Minecraft.World/ClientCommandPacket.h')
| -rw-r--r-- | Minecraft.World/ClientCommandPacket.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Minecraft.World/ClientCommandPacket.h b/Minecraft.World/ClientCommandPacket.h index b3578a10..2f614ddf 100644 --- a/Minecraft.World/ClientCommandPacket.h +++ b/Minecraft.World/ClientCommandPacket.h @@ -19,6 +19,6 @@ public: int getEstimatedSize(); public: - static shared_ptr<Packet> create() { return std::make_shared<ClientCommandPacket>(); } + static shared_ptr<Packet> create() { return shared_ptr<Packet>(new ClientCommandPacket()); } virtual int getId() { return 205; } };
\ No newline at end of file |
