diff options
Diffstat (limited to 'Minecraft.World/SetObjectivePacket.h')
| -rw-r--r-- | Minecraft.World/SetObjectivePacket.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Minecraft.World/SetObjectivePacket.h b/Minecraft.World/SetObjectivePacket.h index 52b67ee0..5b5dfc6f 100644 --- a/Minecraft.World/SetObjectivePacket.h +++ b/Minecraft.World/SetObjectivePacket.h @@ -23,6 +23,6 @@ public: int getEstimatedSize(); public: - static shared_ptr<Packet> create() { return std::make_shared<SetObjectivePacket>(); } + static shared_ptr<Packet> create() { return shared_ptr<Packet>(new SetObjectivePacket()); } virtual int getId() { return 206; } };
\ No newline at end of file |
