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