diff options
Diffstat (limited to 'Minecraft.World/ChatPacket.h')
| -rw-r--r-- | Minecraft.World/ChatPacket.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Minecraft.World/ChatPacket.h b/Minecraft.World/ChatPacket.h index ea9b3806..ca9e4955 100644 --- a/Minecraft.World/ChatPacket.h +++ b/Minecraft.World/ChatPacket.h @@ -119,7 +119,7 @@ public: virtual int getEstimatedSize(); public: - static shared_ptr<Packet> create() { return std::make_shared<ChatPacket>(); } + static shared_ptr<Packet> create() { return shared_ptr<Packet>(new ChatPacket()); } virtual int getId() { return 3; } }; |
