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