aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.World/ContainerSetContentPacket.h
diff options
context:
space:
mode:
Diffstat (limited to 'Minecraft.World/ContainerSetContentPacket.h')
-rw-r--r--Minecraft.World/ContainerSetContentPacket.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Minecraft.World/ContainerSetContentPacket.h b/Minecraft.World/ContainerSetContentPacket.h
index 10315f58..3159085b 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 shared_ptr<Packet>(new ContainerSetContentPacket()); }
+ static shared_ptr<Packet> create() { return std::make_shared<ContainerSetContentPacket>(); }
virtual int getId() { return 104; }
};