Core/Player: fix crash
Closes #17073 (cherry picked from commit 028e473ec4693291266770616bcc54b71fefa835)
This commit is contained in:
@@ -19297,7 +19297,7 @@ bool Player::CheckInstanceValidity(bool /*isLogin*/)
|
||||
return true;
|
||||
|
||||
// non-instances are always valid
|
||||
Map* map = GetMap();
|
||||
Map* map = FindMap();
|
||||
if (!map || !map->IsDungeon())
|
||||
return true;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user