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