diff options
Diffstat (limited to 'Minecraft.World/TimeCommand.cpp')
| -rw-r--r-- | Minecraft.World/TimeCommand.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Minecraft.World/TimeCommand.cpp b/Minecraft.World/TimeCommand.cpp index 05147983..4ac23c94 100644 --- a/Minecraft.World/TimeCommand.cpp +++ b/Minecraft.World/TimeCommand.cpp @@ -81,5 +81,5 @@ shared_ptr<GameCommandPacket> TimeCommand::preparePacket(bool night) dos.writeBoolean(night); - return std::make_shared<GameCommandPacket>(eGameCommand_Time, baos.toByteArray()); + return shared_ptr<GameCommandPacket>( new GameCommandPacket(eGameCommand_Time, baos.toByteArray() )); }
\ No newline at end of file |
