public static IEnumerable<Unit> GetCreeps()
{
if (!Utils.SleepCheck("LaneCreeps.refresh")) return _laneCreepsList;
_laneCreepsList =
ObjectManager.GetEntities<Unit>()
.Where(x => x.ClassID == ClassID.CDOTA_BaseNPC_Creep_Lane && x.IsValid && x.IsAlive)
.ToList();
if (_laneCreepsList.Any())
Utils.Sleep(100, "LaneCreeps.refresh");
return _laneCreepsList;
}