From feff7de74688e81eb948354747492c7d009026c4 Mon Sep 17 00:00:00 2001 From: Rsl1122 Date: Tue, 24 Oct 2017 11:34:35 +0300 Subject: [PATCH] Fixes #373 --- .../plan/systems/info/BungeeInformationManager.java | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Plan/src/main/java/com/djrapitops/plan/systems/info/BungeeInformationManager.java b/Plan/src/main/java/com/djrapitops/plan/systems/info/BungeeInformationManager.java index c0f2c16a3..3aa30e949 100644 --- a/Plan/src/main/java/com/djrapitops/plan/systems/info/BungeeInformationManager.java +++ b/Plan/src/main/java/com/djrapitops/plan/systems/info/BungeeInformationManager.java @@ -158,7 +158,14 @@ public class BungeeInformationManager extends InformationManager { */ private ServerInfo getInspectRequestProcessorServer(UUID uuid) { if (bukkitServers.isEmpty()) { - throw new IllegalStateException("No Bukkit Servers."); + try { + refreshBukkitServerMap(); + } catch (SQLException e) { + Log.toLog(this.getClass().getName(), e); + } + if (bukkitServers.isEmpty()) { + throw new IllegalStateException("No Bukkit Servers."); + } } Collection onlineServers = serverInfoManager.getOnlineBukkitServers();