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