()
| 168 | } |
| 169 | |
| 170 | public static void saveSettings() { |
| 171 | if (lobby == null) Core.settings.putJson("SwitchList", ordonedList.asMap(i -> i.name, i -> i.address() + "-" + i.forAdmin)); |
| 172 | else Core.settings.putJson("SwitchList", ordonedList.addAll(lobby).asMap(i -> i.name, i -> i.address() + "-" + i.forAdmin)); |
| 173 | } |
| 174 | |
| 175 | |
| 176 | public static class ConnectReponse { |
no test coverage detected