Browse Source

забыл про добавить карту

master
gsd 2 years ago
parent
commit
490e780bc8
  1. 3
      src/main/java/app/entities/server/Server.java

3
src/main/java/app/entities/server/Server.java

@ -31,6 +31,7 @@ public class Server {
int player_count;
int max_players;
boolean status;
String map;
String color;
String workshop;
List<String> naming;
@ -59,6 +60,7 @@ public class Server {
setMax_players(response.getResult().getMaxPlayers());
setPlayer_count(response.getResult().getNumOfPlayers());
setMap(response.getResult().getMapName());
setStatus(true);
}
@ -128,6 +130,7 @@ public class Server {
setMax_players(0);
setPlayer_count(0);
players.clear();
setMap("");
}
@JsonIgnore

Loading…
Cancel
Save