Core/Player: Log more information when Player::StopCastingCharm() fails
Port From (https://github.com/TrinityCore/TrinityCore/commit/89ea13ed46744414f74686cf2126dc637188180d)
This commit is contained in:
@@ -862,7 +862,7 @@ namespace Game.Entities
|
||||
public override string GetDebugInfo()
|
||||
{
|
||||
return $"{base.GetDebugInfo()}\nIsAIEnabled: {IsAIEnabled()} DeathState: {GetDeathState()} UnitMovementFlags: {GetUnitMovementFlags()} UnitMovementFlags2: {GetUnitMovementFlags2()} Class: {GetClass()}\n" +
|
||||
$" {(MoveSpline != null ? MoveSpline.ToString() : "Movespline: <none>")}";
|
||||
$" {(MoveSpline != null ? MoveSpline.ToString() : "Movespline: <none>\n")} GetCharmedGUID(): {GetCharmedGUID()}\nGetCharmerGUID(): {GetCharmerGUID()}\n{(GetVehicleKit() != null ? GetVehicleKit().GetDebugInfo() : "No vehicle kit")}";
|
||||
}
|
||||
|
||||
public Guardian GetGuardianPet()
|
||||
|
||||
Reference in New Issue
Block a user