diff --git a/source/server/network/ChatCommandHandler.cpp b/source/server/network/ChatCommandHandler.cpp index 34e0ce7e..e20080cc 100644 --- a/source/server/network/ChatCommandHandler.cpp +++ b/source/server/network/ChatCommandHandler.cpp @@ -157,7 +157,7 @@ void ChatCommandHandler::timeCommand(const std::vector &command, Cl } else if (command.at(1) == "add") { try { - u64 ticks = std::stoull(command.at(2)); + s64 ticks = std::stoll(command.at(2)); GameTime::setTicks(GameTime::getTicks() + ticks);