mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-04-27 14:57:44 +00:00
fix warpmgr argument on no aetherytes found for teleport/position correction;
This commit is contained in:
parent
0be285c8d5
commit
88ccb927b6
1 changed files with 1 additions and 2 deletions
|
@ -539,8 +539,7 @@ void Sapphire::Network::GameConnection::gmCommandHandler( const Packets::FFXIVAR
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
auto& warpMgr = Common::Service< WarpMgr >::ref();
|
auto& warpMgr = Common::Service< WarpMgr >::ref();
|
||||||
warpMgr.requestMoveTerritory( *targetPlayer, WarpType::WARP_TYPE_GM,
|
warpMgr.requestMoveTerritory( *targetPlayer, WarpType::WARP_TYPE_GM, teriMgr.getZoneByTerritoryTypeId( param1 )->getGuId(), targetPlayer->getPos(), 0);
|
||||||
targetPlayer->getTerritoryId(), targetPlayer->getPos(), 0 );
|
|
||||||
}
|
}
|
||||||
|
|
||||||
PlayerMgr::sendServerNotice( player, "{0} was warped to zone {1}", targetPlayer->getName(), param1, pZone->getName() );
|
PlayerMgr::sendServerNotice( player, "{0} was warped to zone {1}", targetPlayer->getName(), param1, pZone->getName() );
|
||||||
|
|
Loading…
Add table
Reference in a new issue