public async Task OnExitZoneAsync(L2Zone z, bool cls) { if (!ActiveZones.ContainsKey(z.ZoneId)) { return; } lock (ActiveZones) ActiveZones.Remove(z.ZoneId); z.OnExit(this, cls); await RevalidateZoneAsync(z); await ValidateZoneCompassAsync(); }
public void OnExitZone(L2Zone z, bool cls) { if (!ActiveZones.ContainsKey(z.ZoneId)) { return; } lock (ActiveZones) ActiveZones.Remove(z.ZoneId); z.OnExit(this, cls); RevalidateZone(z); ValidateZoneCompass(); }