Added server map list command

This commit is contained in:
Anuken
2018-02-04 13:33:26 -05:00
parent 4dee8ba150
commit d5de9019a1

View File

@@ -150,7 +150,7 @@ public class ServerControl extends Module {
handler.register("maps", "Display all available maps.", arg -> {
Log.info("Maps:");
for(Map map : world.maps().getAllMaps()){
Log.info(" &ly{0}: &fi{1} / {2}x{3} {4}", map.name, map.custom ? "Custom" : "Default", );
Log.info(" &ly{0}: &fi{1} / {2}x{3}", map.name, map.custom ? "Custom" : "Default", map.getWidth(), map.getHeight());
}
});