1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-05-15 15:07:45 +00:00

Update DebugCommandHandler.cpp

This commit is contained in:
Mordred 2017-09-22 15:38:32 +02:00 committed by GitHub
parent 2324dc813c
commit 5ee34117ce

View file

@ -268,7 +268,7 @@ void Core::DebugCommandHandler::set( char * data, Core::Entity::PlayerPtr pPlaye
else if ( subCommand == "eorzeatime" )
{
uint64_t timestamp;
sscanf(params.c_str(), "%llu", &timestamp);
sscanf( params.c_str(), "%llu", &timestamp );
pPlayer->setEorzeaTimeOffset( timestamp );
pPlayer->sendNotice( "Eorzea time offset: " + std::to_string( timestamp ) );