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