Fixed wrong area flags, Fixes resting in city.
This commit is contained in:
@@ -648,7 +648,7 @@ namespace Game
|
||||
}
|
||||
|
||||
AreaTableRecord atEntry = CliDB.AreaTableStorage.LookupByKey(GetPlayer().GetAreaId());
|
||||
if (atEntry == null || !atEntry.Flags.HasFlag(AreaFlags.CanHearthAndResurrect))
|
||||
if (atEntry == null || !atEntry.HasFlag(AreaFlags.CanHearthAndResurrect))
|
||||
return;
|
||||
|
||||
GetPlayer().BuildPlayerRepop();
|
||||
|
||||
Reference in New Issue
Block a user