aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.World/CustomPayloadPacket.h
diff options
context:
space:
mode:
Diffstat (limited to 'Minecraft.World/CustomPayloadPacket.h')
-rw-r--r--Minecraft.World/CustomPayloadPacket.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Minecraft.World/CustomPayloadPacket.h b/Minecraft.World/CustomPayloadPacket.h
index 82a3f6e2..95c5e708 100644
--- a/Minecraft.World/CustomPayloadPacket.h
+++ b/Minecraft.World/CustomPayloadPacket.h
@@ -30,6 +30,6 @@ public:
virtual int getEstimatedSize();
public:
- static shared_ptr<Packet> create() { return std::make_shared<CustomPayloadPacket>(); }
+ static shared_ptr<Packet> create() { return shared_ptr<Packet>(new CustomPayloadPacket()); }
virtual int getId() { return 250; }
}; \ No newline at end of file