mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-01-05 13:08:20 +07:00
Add file name printing (#5093)
This commit is contained in:
parent
aef7709764
commit
a55039447a
@ -339,7 +339,11 @@ public class ServerControl implements ApplicationListener{
|
||||
if(!maps.all().isEmpty()){
|
||||
info("Maps:");
|
||||
for(Map map : maps.all()){
|
||||
info(" @: &fi@ / @x@", map.name().replace(' ', '_'), map.custom ? "Custom" : "Default", map.width, map.height);
|
||||
if(map.custom){
|
||||
info(" @ (@): &fiCustom / @x@", map.name().replace(' ', '_'), map.file.name(), map.width, map.height);
|
||||
}else{
|
||||
info(" @: &fiDefault / @x@", map.name().replace(' ', '_'), map.width, map.height);
|
||||
}
|
||||
}
|
||||
}else{
|
||||
info("No maps found.");
|
||||
|
Loading…
Reference in New Issue
Block a user