mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-15 18:10:26 +00:00
fix(Core/Maps): Enabled dead players to be resurrected at the dungeon entrance if cannot enter it due to some reasons (#7236)
- Closes #6790
This commit is contained in:
@@ -266,8 +266,8 @@ bool MapInstanced::DestroyInstance(InstancedMaps::iterator& itr)
|
||||
return true;
|
||||
}
|
||||
|
||||
bool MapInstanced::CanEnter(Player* /*player*/, bool /*loginCheck*/)
|
||||
Map::EnterState MapInstanced::CannotEnter(Player* /*player*/, bool /*loginCheck*/)
|
||||
{
|
||||
//ABORT();
|
||||
return true;
|
||||
return CAN_ENTER;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user