Check for uptimes field

This commit is contained in:
cnr 2016-07-14 11:22:10 -05:00
parent a0847b8d1a
commit d54e47d8ea

View File

@ -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");