Fix single map render message on single map render of day/night worlds
This commit is contained in:
parent
f99700d863
commit
e0fcca4b7f
1 changed files with 9 additions and 6 deletions
|
|
@ -268,12 +268,15 @@ public class MapManager {
|
|||
activemaplist = map.getMapNamesSharingRender(world);
|
||||
/* Build active map list */
|
||||
activemaps = "";
|
||||
for(String n : activemaplist) {
|
||||
if((mapname != null) && (!mapname.equals(n)))
|
||||
continue;
|
||||
if(activemaps.length() > 0)
|
||||
activemaps += ",";
|
||||
activemaps += n;
|
||||
if(mapname != null) {
|
||||
activemaps = mapname;
|
||||
}
|
||||
else {
|
||||
for(String n : activemaplist) {
|
||||
if(activemaps.length() > 0)
|
||||
activemaps += ",";
|
||||
activemaps += n;
|
||||
}
|
||||
}
|
||||
/* Mark all the concurrently rendering maps rendered */
|
||||
renderedmaps.addAll(map.getMapsSharingRender(world));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue