diff --git a/BlueMapCommon/webapp/src/js/markers/PlayerMarkerManager.js b/BlueMapCommon/webapp/src/js/markers/PlayerMarkerManager.js index b114c8a4..93a99d3c 100644 --- a/BlueMapCommon/webapp/src/js/markers/PlayerMarkerManager.js +++ b/BlueMapCommon/webapp/src/js/markers/PlayerMarkerManager.js @@ -79,7 +79,7 @@ export class PlayerMarkerManager extends MarkerManager { } clear() { - this.getPlayerMarkerSet(false).clear(); + this.getPlayerMarkerSet(false)?.clear(); } } \ No newline at end of file