Core/Areas: Update AreaFlags
Port From (https://github.com/TrinityCore/TrinityCore/commit/f8f1c3b4f0ca631e76101f8492b9688c6d2dca01)
This commit is contained in:
@@ -682,7 +682,7 @@ namespace Game
|
||||
}
|
||||
|
||||
AreaTableRecord atEntry = CliDB.AreaTableStorage.LookupByKey(GetPlayer().GetAreaId());
|
||||
if (atEntry == null || !atEntry.HasFlag(AreaFlags.CanHearthAndResurrect))
|
||||
if (atEntry == null || !atEntry.GetFlags().HasFlag(AreaFlags.AllowHearthAndRessurectFromArea))
|
||||
return;
|
||||
|
||||
GetPlayer().BuildPlayerRepop();
|
||||
|
||||
Reference in New Issue
Block a user