diff options
Diffstat (limited to 'Minecraft.World/RotateHeadPacket.h')
| -rw-r--r-- | Minecraft.World/RotateHeadPacket.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Minecraft.World/RotateHeadPacket.h b/Minecraft.World/RotateHeadPacket.h index 19ccf97f..884f4844 100644 --- a/Minecraft.World/RotateHeadPacket.h +++ b/Minecraft.World/RotateHeadPacket.h @@ -22,6 +22,6 @@ public: virtual bool isAync(); public: - static shared_ptr<Packet> create() { return shared_ptr<Packet>(new RotateHeadPacket()); } + static shared_ptr<Packet> create() { return std::make_shared<RotateHeadPacket>(); } virtual int getId() { return 35; } };
\ No newline at end of file |
