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