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