mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-04-25 05:57:45 +00:00
Merge pull request #109 from AcedArmy/master
Made the @set eorzeatime A GM Command
This commit is contained in:
commit
871cfbb4fa
1 changed files with 6 additions and 0 deletions
|
@ -253,6 +253,12 @@ void Core::Network::GameConnection::gm1Handler( const Packets::GamePacket& inPac
|
|||
pPlayer->sendUrgent( "Item " + std::to_string( param1 ) + " not found..." );
|
||||
break;
|
||||
}
|
||||
case GmCommand::Time:
|
||||
{
|
||||
pPlayer->setEorzeaTimeOffset( param2 );
|
||||
pPlayer->sendNotice( "Eorzea time offset: " + std::to_string( param2 ) );
|
||||
break;
|
||||
}
|
||||
case GmCommand::Weather:
|
||||
{
|
||||
targetPlayer->getCurrentZone()->setWeatherOverride( param1 );
|
||||
|
|
Loading…
Add table
Reference in a new issue