mirror of
https://github.com/BlueMap-Minecraft/BlueMapWeb.git
synced 2025-02-19 19:31:41 +01:00
Fix markers are not removed when they should (BlueMap-Minecraft/BlueMap#207)
This commit is contained in:
parent
ce57dfdda5
commit
f70745f82b
@ -120,8 +120,8 @@ export class MarkerFileManager extends MarkerManager {
|
||||
|
||||
// remove not updated Markers
|
||||
markerSet.children.forEach((marker) => {
|
||||
if (marker.isMarker && !updatedMarkers.has(marker) && !this.markers.has(marker.markerId)) {
|
||||
this.removeMarker(marker.markerId);
|
||||
if (marker.isMarker && !updatedMarkers.has(marker)) {
|
||||
this.removeMarker(marker.data.id);
|
||||
}
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user