mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-04-25 22:17:45 +00:00
Merge pull request #826 from hkAlice/fick-mariadb-cmake
[3.x] fix warpmgr argument on no aetherytes/teleport found;
This commit is contained in:
commit
4d64ece25a
1 changed files with 1 additions and 2 deletions
|
@ -539,8 +539,7 @@ void Sapphire::Network::GameConnection::gmCommandHandler( const Packets::FFXIVAR
|
|||
else
|
||||
{
|
||||
auto& warpMgr = Common::Service< WarpMgr >::ref();
|
||||
warpMgr.requestMoveTerritory( *targetPlayer, WarpType::WARP_TYPE_GM,
|
||||
targetPlayer->getTerritoryId(), targetPlayer->getPos(), 0 );
|
||||
warpMgr.requestMoveTerritory( *targetPlayer, WarpType::WARP_TYPE_GM, teriMgr.getZoneByTerritoryTypeId( param1 )->getGuId(), targetPlayer->getPos(), 0);
|
||||
}
|
||||
|
||||
PlayerMgr::sendServerNotice( player, "{0} was warped to zone {1}", targetPlayer->getName(), param1, pZone->getName() );
|
||||
|
|
Loading…
Add table
Reference in a new issue