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