From 490e780bc830c71a6c84622feac75258770a106a Mon Sep 17 00:00:00 2001 From: gsd Date: Thu, 16 Feb 2023 21:11:45 +0300 Subject: [PATCH] =?UTF-8?q?=D0=B7=D0=B0=D0=B1=D1=8B=D0=BB=20=D0=BF=D1=80?= =?UTF-8?q?=D0=BE=20=D0=B4=D0=BE=D0=B1=D0=B0=D0=B2=D0=B8=D1=82=D1=8C=20?= =?UTF-8?q?=D0=BA=D0=B0=D1=80=D1=82=D1=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/app/entities/server/Server.java | 3 +++ 1 file changed, 3 insertions(+) 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