diff --git a/src/main/java/app/entities/server/Server.java b/src/main/java/app/entities/server/Server.java index 57c23bb..8540a5c 100644 --- a/src/main/java/app/entities/server/Server.java +++ b/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 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