Core/Players: do not update position data on character creation

Port From (https://github.com/TrinityCore/TrinityCore/commit/ab46d25d0cce31c23dac86560b8e97d395d374a7)
This commit is contained in:
hondacrx
2022-02-23 16:29:44 -05:00
parent 99b4a7ea8b
commit 87bff09387
-1
View File
@@ -235,7 +235,6 @@ namespace Game.Entities
SetGender(createInfo.Sex);
SetPowerType(powertype, false);
InitDisplayIds();
UpdatePositionData();
if ((RealmType)WorldConfig.GetIntValue(WorldCfg.GameType) == RealmType.PVP || (RealmType)WorldConfig.GetIntValue(WorldCfg.GameType) == RealmType.RPPVP)
{
AddPvpFlag(UnitPVPStateFlags.PvP);