1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-04-26 14:37:44 +00:00

Avoid client crash on setZone

This commit is contained in:
Dantestyle 2018-11-22 00:41:54 +01:00
parent 71603f58da
commit fbba5fb13c

View file

@ -223,10 +223,10 @@ private:
[ & ]( Entity::Player& player, const Event::SceneResult& result )
{
// accepting quest "close to home"
player.updateQuest( getId(), 1 );
player.updateQuest( getId(), Seq1 );
player.setQuestUI8CH( getId(), 1 ); // receive key item
// event is done, need to teleport to real zone.
player.setZone( 132 );
player.forceZoneing( Territorytype0 );
//player.setZone(183); back to starting griania for debug purpose
} );
}