private void UpdateMinimap(object sender, EventArgs eventArgs) { if (CurrentWorld != null) { if (MinimapImage != null) RenderMiniMap.UpdateMinimap(CurrentWorld, ref _minimapImage); } }