This commit is contained in:
Anuken
2020-03-08 21:53:19 -04:00
parent 863c7ae2bc
commit 0ff3c1ee78
26 changed files with 59 additions and 54 deletions

View File

@@ -276,7 +276,7 @@ public class ServerControl implements ApplicationListener{
});
handler.register("status", "Display server status.", arg -> {
if(state.is(State.menu)){
if(state.isMenu()){
info("Status: &rserver closed");
}else{
info("Status:");
@@ -777,7 +777,7 @@ public class ServerControl implements ApplicationListener{
});
handler.register("gameover", "Force a game over.", arg -> {
if(state.is(State.menu)){
if(state.isMenu()){
err("Not playing a map.");
return;
}