diff --git a/pom.xml b/pom.xml index 696ca9b6..a8e4996b 100644 --- a/pom.xml +++ b/pom.xml @@ -96,7 +96,7 @@ org.bukkit bukkit - 0.0.1-SNAPSHOT + 1.0.0-R1-SNAPSHOT jar compile diff --git a/web/js/markers.js b/web/js/markers.js index d89e62f2..c93d32e4 100644 --- a/web/js/markers.js +++ b/web/js/markers.js @@ -10,6 +10,10 @@ componentconstructors['markers'] = function(dynmap, configuration) { set.layergroup.removeLayer(marker.our_marker); }); set.markers = {}; + $.each(set.areas, function(aname, area) { + set.layergroup.removeLayer(area.our_area); + }); + set.areas = {}; }); }