This commit is contained in:
Rsl1122 2017-10-24 11:34:35 +03:00
parent 9aa5a01fe5
commit feff7de746

View File

@ -157,9 +157,16 @@ public class BungeeInformationManager extends InformationManager {
* @throws IllegalStateException If no Bukkit servers are online.
*/
private ServerInfo getInspectRequestProcessorServer(UUID uuid) {
if (bukkitServers.isEmpty()) {
try {
refreshBukkitServerMap();
} catch (SQLException e) {
Log.toLog(this.getClass().getName(), e);
}
if (bukkitServers.isEmpty()) {
throw new IllegalStateException("No Bukkit Servers.");
}
}
Collection<ServerInfo> onlineServers = serverInfoManager.getOnlineBukkitServers();
if (plugin.getProxy().getPlayer(uuid) != null) {