aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.World/SetHealthPacket.h
diff options
context:
space:
mode:
Diffstat (limited to 'Minecraft.World/SetHealthPacket.h')
-rw-r--r--Minecraft.World/SetHealthPacket.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Minecraft.World/SetHealthPacket.h b/Minecraft.World/SetHealthPacket.h
index cc85c4c6..4704f220 100644
--- a/Minecraft.World/SetHealthPacket.h
+++ b/Minecraft.World/SetHealthPacket.h
@@ -23,7 +23,7 @@ public:
virtual bool isInvalidatedBy(shared_ptr<Packet> packet);
public:
- static shared_ptr<Packet> create() { return std::make_shared<SetHealthPacket>(); }
+ static shared_ptr<Packet> create() { return shared_ptr<Packet>(new SetHealthPacket()); }
virtual int getId() { return 8; }
};