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