Hello,
Try
if (ObjectManager.GetWoWGameObjectByyId(20808).Count > 0 && ObjectManager.GetWoWGameObjectByyId(20808).FirstOrDefault().GetDistance <= 50)
{
wManager.Wow.Helpers.Move.Forward(Move.MoveAction.PressKey, 2500);
}
or
if (ObjectManager.GetWoWGameObjectByyId(20808).Count > 0 && ObjectManager.GetWoWGameObjectByyId(20808).FirstOrDefault().GetDistance2D <= 50) { wManager.Wow.Helpers.Move.Forward(Move.MoveAction.PressKey, 2500); }