diff options
Diffstat (limited to 'Minecraft.World/PlayerAbilitiesPacket.h')
| -rw-r--r-- | Minecraft.World/PlayerAbilitiesPacket.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Minecraft.World/PlayerAbilitiesPacket.h b/Minecraft.World/PlayerAbilitiesPacket.h index 8cd82bf5..3998c66b 100644 --- a/Minecraft.World/PlayerAbilitiesPacket.h +++ b/Minecraft.World/PlayerAbilitiesPacket.h @@ -44,6 +44,6 @@ public: bool isInvalidatedBy(shared_ptr<Packet> packet); public: - static shared_ptr<Packet> create() { return shared_ptr<Packet>(new PlayerAbilitiesPacket()); } + static shared_ptr<Packet> create() { return std::make_shared<PlayerAbilitiesPacket>(); } virtual int getId() { return 202; } };
\ No newline at end of file |
