Let server console know which map was randomly picked (#980)

This commit is contained in:
Patrick 'Quezler' Mounier 2019-11-02 16:24:43 +01:00 committed by Anuken
parent 51d08c6f42
commit 326b1e9f62

View File

@ -230,6 +230,7 @@ public class ServerControl implements ApplicationListener{
}else{
Array<Map> maps = Vars.maps.customMaps().size == 0 ? Vars.maps.defaultMaps() : Vars.maps.customMaps();
result = maps.random();
info("Randomized next map to be {0}.", result.name());
}
Gamemode preset = Gamemode.survival;