SteamWar/SpigotCore
Archiviert
13
0

Ignored
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful

Dieser Commit ist enthalten in:
Chaos 2022-01-28 15:57:45 +01:00
Ursprung c593e23b80
Commit 79d9a8b902

Datei anzeigen

@ -23,7 +23,6 @@ import de.steamwar.sql.SteamwarUser;
import org.bukkit.Bukkit; import org.bukkit.Bukkit;
import java.util.UUID; import java.util.UUID;
import java.util.logging.Level;
public class BauServerInfo { public class BauServerInfo {
private static Integer bauOwner = null; private static Integer bauOwner = null;
@ -34,9 +33,7 @@ public class BauServerInfo {
} catch (NumberFormatException e) { } catch (NumberFormatException e) {
try { try {
bauOwner = SteamwarUser.get(UUID.fromString(Bukkit.getWorlds().get(0).getName())).getId(); bauOwner = SteamwarUser.get(UUID.fromString(Bukkit.getWorlds().get(0).getName())).getId();
} catch (IllegalArgumentException exception) { } catch (IllegalArgumentException ignored) {}
Bukkit.getLogger().log(Level.SEVERE, "World name is not a user", new IllegalStateException("World name is not a user"));
}
} }
} }