mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-07-16 10:47:40 +07:00
Updated uCore / Minor server tweak
This commit is contained in:
@ -270,11 +270,11 @@ public class ServerControl extends Module{
|
||||
});
|
||||
|
||||
handler.register("setsector <x> <y>", "Sets the next sector to be played. Does not affect current game.", arg -> {
|
||||
//TODO
|
||||
try{
|
||||
Settings.putInt("sector_x", Integer.parseInt(arg[0]));
|
||||
Settings.putInt("sector_y", Integer.parseInt(arg[1]));
|
||||
Settings.save();
|
||||
info("Sector position set.");
|
||||
}catch(NumberFormatException e){
|
||||
err("Invalid coordinates.");
|
||||
}
|
||||
|
Reference in New Issue
Block a user