mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-02-10 10:47:13 +07:00
Updated uCore / Minor server tweak
This commit is contained in:
parent
d4d9d59fe4
commit
36c01fde94
@ -26,7 +26,7 @@ allprojects {
|
||||
appName = 'Mindustry'
|
||||
gdxVersion = '1.9.8'
|
||||
roboVMVersion = '2.3.0'
|
||||
uCoreVersion = '9969ed07b1'
|
||||
uCoreVersion = '76dc741b49'
|
||||
|
||||
getVersionString = {
|
||||
String buildVersion = getBuildVersion()
|
||||
|
@ -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.");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user