diff options
Diffstat (limited to 'Minecraft.World/ContainerOpenPacket.h')
| -rw-r--r-- | Minecraft.World/ContainerOpenPacket.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Minecraft.World/ContainerOpenPacket.h b/Minecraft.World/ContainerOpenPacket.h index fac0e981..896b7dd9 100644 --- a/Minecraft.World/ContainerOpenPacket.h +++ b/Minecraft.World/ContainerOpenPacket.h @@ -46,7 +46,7 @@ public: virtual int getEstimatedSize(); public: - static shared_ptr<Packet> create() { return std::make_shared<ContainerOpenPacket>(); } + static shared_ptr<Packet> create() { return shared_ptr<Packet>(new ContainerOpenPacket()); } virtual int getId() { return 100; } }; |
