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