From 3ebc1b4123967f5465eefecf0916c3e773dc189e Mon Sep 17 00:00:00 2001 From: James Lyne Date: Fri, 14 Jan 2022 15:15:29 +0000 Subject: [PATCH] Fix references to removed MultiPolygon constructor --- DynmapCore/src/main/resources/extracted/web/js/markers.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/DynmapCore/src/main/resources/extracted/web/js/markers.js b/DynmapCore/src/main/resources/extracted/web/js/markers.js index 5c3e742d..ca5182fe 100644 --- a/DynmapCore/src/main/resources/extracted/web/js/markers.js +++ b/DynmapCore/src/main/resources/extracted/web/js/markers.js @@ -277,7 +277,7 @@ componentconstructors['markers'] = function(dynmap, configuration) { } function create3DBoxLayer(maxx, minx, maxy, miny, maxz, minz, style) { - return new L.MultiPolygon([ + return new L.Polygon([ [ latlng(minx,miny,minz), latlng(maxx,miny,minz), @@ -349,7 +349,7 @@ componentconstructors['markers'] = function(dynmap, configuration) { polylist[xarray.length] = botlist; polylist[xarray.length+1] = toplist; - return new L.MultiPolygon(polylist, style); + return new L.Polygon(polylist, style); } function create2DOutlineLayer(xarray, maxy, miny, zarray, style) {