if (!canRunRestrictedCommand(connId)) { server.sendServerChat(connId, "Observers are restricted from declaring defeat."); return; }
    public void run(int connId, String[] args) {        Player player = server.getPlayer(connId);        if (server.getGame().isForceVictory()) {            server.sendServerChat(player.getName() + " admits defeat.");            player.setAdmitsDefeat(true);        } else {            server.sendServerChat(connId, "Nobody has declared victory, you can't declare a defeat.");        }    }