SteamWar/SpigotCore
Archiviert
13
0

Fix error Handleing

Dieser Commit ist enthalten in:
Chaoscaot 2021-09-11 13:13:28 +02:00
Ursprung cf961c88f5
Commit a6cf3be5f0

Datei anzeigen

@ -74,7 +74,7 @@ public class Core extends JavaPlugin{
try { try {
Bukkit.getLogger().log(Level.INFO, "Running on: " + new BufferedReader(new InputStreamReader(Runtime.getRuntime().exec("hostname").getInputStream())).readLine()); Bukkit.getLogger().log(Level.INFO, "Running on: " + new BufferedReader(new InputStreamReader(Runtime.getRuntime().exec("hostname").getInputStream())).readLine());
} catch (IOException e) { } catch (IOException e) {
e.printStackTrace(); throw new SecurityException("Could not load Hostname", e);
} }
} }