mirror of
https://github.com/webbukkit/dynmap.git
synced 2024-11-28 21:25:46 +01:00
Fix single map render message on single map render of day/night worlds
This commit is contained in:
parent
754bc6c51e
commit
b51da5d401
@ -268,13 +268,16 @@ public class MapManager {
|
|||||||
activemaplist = map.getMapNamesSharingRender(world);
|
activemaplist = map.getMapNamesSharingRender(world);
|
||||||
/* Build active map list */
|
/* Build active map list */
|
||||||
activemaps = "";
|
activemaps = "";
|
||||||
|
if(mapname != null) {
|
||||||
|
activemaps = mapname;
|
||||||
|
}
|
||||||
|
else {
|
||||||
for(String n : activemaplist) {
|
for(String n : activemaplist) {
|
||||||
if((mapname != null) && (!mapname.equals(n)))
|
|
||||||
continue;
|
|
||||||
if(activemaps.length() > 0)
|
if(activemaps.length() > 0)
|
||||||
activemaps += ",";
|
activemaps += ",";
|
||||||
activemaps += n;
|
activemaps += n;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
/* Mark all the concurrently rendering maps rendered */
|
/* Mark all the concurrently rendering maps rendered */
|
||||||
renderedmaps.addAll(map.getMapsSharingRender(world));
|
renderedmaps.addAll(map.getMapsSharingRender(world));
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user