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