Core/WorldObject: Properly initialize position data for all types when initially creating them. Fixes some issues with PvP objectives not having the correct area ID set on initialization.
Port From (https://github.com/TrinityCore/TrinityCore/commit/e6be53d1417e733f0916ff305960cfac3e2ca551)
This commit is contained in:
@@ -2841,6 +2841,7 @@ namespace Game.Entities
|
||||
}
|
||||
|
||||
SetMap(map);
|
||||
UpdatePositionData();
|
||||
|
||||
// now that map position is determined, check instance validity
|
||||
if (!CheckInstanceValidity(true) && !IsInstanceLoginGameMasterException())
|
||||
|
||||
Reference in New Issue
Block a user