Check for uptimes field
This commit is contained in:
parent
a0847b8d1a
commit
d54e47d8ea
@ -80,7 +80,7 @@ public class ServerGroup
|
|||||||
_requiredTotalServers = Integer.valueOf(data.get("totalServers"));
|
_requiredTotalServers = Integer.valueOf(data.get("totalServers"));
|
||||||
_requiredJoinableServers = Integer.valueOf(data.get("joinableServers"));
|
_requiredJoinableServers = Integer.valueOf(data.get("joinableServers"));
|
||||||
_portSection = Integer.valueOf(data.get("portSection"));
|
_portSection = Integer.valueOf(data.get("portSection"));
|
||||||
_uptimes = data.get("uptimes");
|
_uptimes = data.containsKey("uptimes") ? data.get("uptimes") : "";
|
||||||
_arcadeGroup = Boolean.valueOf(data.get("arcadeGroup"));
|
_arcadeGroup = Boolean.valueOf(data.get("arcadeGroup"));
|
||||||
_worldZip = data.get("worldZip");
|
_worldZip = data.get("worldZip");
|
||||||
_plugin = data.get("plugin");
|
_plugin = data.get("plugin");
|
||||||
|
Loading…
Reference in New Issue
Block a user