Core/Players: do not update position data on character creation
Port From (https://github.com/TrinityCore/TrinityCore/commit/ab46d25d0cce31c23dac86560b8e97d395d374a7)
This commit is contained in:
@@ -235,7 +235,6 @@ namespace Game.Entities
|
|||||||
SetGender(createInfo.Sex);
|
SetGender(createInfo.Sex);
|
||||||
SetPowerType(powertype, false);
|
SetPowerType(powertype, false);
|
||||||
InitDisplayIds();
|
InitDisplayIds();
|
||||||
UpdatePositionData();
|
|
||||||
if ((RealmType)WorldConfig.GetIntValue(WorldCfg.GameType) == RealmType.PVP || (RealmType)WorldConfig.GetIntValue(WorldCfg.GameType) == RealmType.RPPVP)
|
if ((RealmType)WorldConfig.GetIntValue(WorldCfg.GameType) == RealmType.PVP || (RealmType)WorldConfig.GetIntValue(WorldCfg.GameType) == RealmType.RPPVP)
|
||||||
{
|
{
|
||||||
AddPvpFlag(UnitPVPStateFlags.PvP);
|
AddPvpFlag(UnitPVPStateFlags.PvP);
|
||||||
|
|||||||
Reference in New Issue
Block a user