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