Fix single map render message on single map render of day/night worlds

This commit is contained in:
Mike Primm 2011-09-05 15:39:53 -05:00
parent 754bc6c51e
commit b51da5d401

View File

@ -268,12 +268,15 @@ public class MapManager {
activemaplist = map.getMapNamesSharingRender(world); activemaplist = map.getMapNamesSharingRender(world);
/* Build active map list */ /* Build active map list */
activemaps = ""; activemaps = "";
for(String n : activemaplist) { if(mapname != null) {
if((mapname != null) && (!mapname.equals(n))) activemaps = mapname;
continue; }
if(activemaps.length() > 0) else {
activemaps += ","; for(String n : activemaplist) {
activemaps += n; if(activemaps.length() > 0)
activemaps += ",";
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));