diff --git a/src/com/massivecraft/factions/integration/dynmap/EngineDynmap.java b/src/com/massivecraft/factions/integration/dynmap/EngineDynmap.java index 47e41f5c..0b2e8538 100644 --- a/src/com/massivecraft/factions/integration/dynmap/EngineDynmap.java +++ b/src/com/massivecraft/factions/integration/dynmap/EngineDynmap.java @@ -246,12 +246,19 @@ public class EngineDynmap extends Engine while (!allChunksSource.isEmpty()) { - PS somePs = allChunksSource.iterator().next(); + Iterator it = allChunksSource.iterator(); + PS somePs = it.next(); + it.remove(); // Create the polygon - Set polygonChunks = new MassiveSet<>(); - floodFillTarget(allChunksSource, polygonChunks, somePs); - List linelist = getLineList(polygonChunks); + //Set polygonChunks = new MassiveSet<>(); + //floodFillTarget(allChunksSource, polygonChunks, somePs); + //List linelist = getLineList(polygonChunks); + List linelist = new MassiveList<>(); + for (Direction d : Direction.values()) + { + linelist.add(d.getCorner(somePs)); + } // Calc the x and y arrays int sz = linelist.size();