diff options
Diffstat (limited to 'Minecraft.World/AwardStatPacket.h')
| -rw-r--r-- | Minecraft.World/AwardStatPacket.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Minecraft.World/AwardStatPacket.h b/Minecraft.World/AwardStatPacket.h index 01cad26d..6b79c023 100644 --- a/Minecraft.World/AwardStatPacket.h +++ b/Minecraft.World/AwardStatPacket.h @@ -24,7 +24,7 @@ public: virtual int getEstimatedSize(); virtual bool isAync(); - static shared_ptr<Packet> create() { return std::make_shared<AwardStatPacket>(); } + static shared_ptr<Packet> create() { return shared_ptr<Packet>(new AwardStatPacket()); } virtual int getId() { return 200; } public: |
