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