mirror of
https://github.com/BlueMap-Minecraft/BlueMapWeb.git
synced 2024-09-27 21:22:35 +02: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
|
// remove not updated Markers
|
||||||
markerSet.children.forEach((marker) => {
|
markerSet.children.forEach((marker) => {
|
||||||
if (marker.isMarker && !updatedMarkers.has(marker) && !this.markers.has(marker.markerId)) {
|
if (marker.isMarker && !updatedMarkers.has(marker)) {
|
||||||
this.removeMarker(marker.markerId);
|
this.removeMarker(marker.data.id);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user