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