aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.World/TimeCommand.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Minecraft.World/TimeCommand.cpp')
-rw-r--r--Minecraft.World/TimeCommand.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Minecraft.World/TimeCommand.cpp b/Minecraft.World/TimeCommand.cpp
index 4ac23c94..05147983 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 shared_ptr<GameCommandPacket>( new GameCommandPacket(eGameCommand_Time, baos.toByteArray() ));
+ return std::make_shared<GameCommandPacket>(eGameCommand_Time, baos.toByteArray());
} \ No newline at end of file