diff options
Diffstat (limited to 'Minecraft.World/SetTimePacket.h')
| -rw-r--r-- | Minecraft.World/SetTimePacket.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Minecraft.World/SetTimePacket.h b/Minecraft.World/SetTimePacket.h index 2e876388..a0fa2ad9 100644 --- a/Minecraft.World/SetTimePacket.h +++ b/Minecraft.World/SetTimePacket.h @@ -21,6 +21,6 @@ public: virtual bool isAync(); public: - static shared_ptr<Packet> create() { return std::make_shared<SetTimePacket>(); } + static shared_ptr<Packet> create() { return shared_ptr<Packet>(new SetTimePacket()); } virtual int getId() { return 4; } };
\ No newline at end of file |
