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