aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.World/SetExperiencePacket.h
diff options
context:
space:
mode:
Diffstat (limited to 'Minecraft.World/SetExperiencePacket.h')
-rw-r--r--Minecraft.World/SetExperiencePacket.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Minecraft.World/SetExperiencePacket.h b/Minecraft.World/SetExperiencePacket.h
index 668f4416..01c0ed46 100644
--- a/Minecraft.World/SetExperiencePacket.h
+++ b/Minecraft.World/SetExperiencePacket.h
@@ -20,6 +20,6 @@ public:
virtual bool isInvalidatedBy(shared_ptr<Packet> packet);
public:
- static shared_ptr<Packet> create() { return std::make_shared<SetExperiencePacket>(); }
+ static shared_ptr<Packet> create() { return shared_ptr<Packet>(new SetExperiencePacket()); }
virtual int getId() { return 43; }
}; \ No newline at end of file