diff options
Diffstat (limited to 'Minecraft.World/RespawnPacket.h')
| -rw-r--r-- | Minecraft.World/RespawnPacket.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Minecraft.World/RespawnPacket.h b/Minecraft.World/RespawnPacket.h index dc815994..3caf1ee3 100644 --- a/Minecraft.World/RespawnPacket.h +++ b/Minecraft.World/RespawnPacket.h @@ -29,6 +29,6 @@ public: virtual int getEstimatedSize(); public: - static shared_ptr<Packet> create() { return std::make_shared<RespawnPacket>(); } + static shared_ptr<Packet> create() { return shared_ptr<Packet>(new RespawnPacket()); } virtual int getId() { return 9; } }; |
