SteamWar/SpigotCore
Archiviert
13
0

Changing Things around

Dieser Commit ist enthalten in:
Chaoscaot 2021-06-26 11:23:22 +02:00
Ursprung cbeb221538
Commit cf961c88f5

Datei anzeigen

@ -57,11 +57,6 @@ public class Core extends JavaPlugin{
@Override
public void onLoad() {
try {
Bukkit.getLogger().log(Level.INFO, "Node Name: " + new BufferedReader(new InputStreamReader(Runtime.getRuntime().exec("hostname").getInputStream())).readLine());
} catch (IOException e) {
e.printStackTrace();
}
setInstance(this);
}
@ -76,6 +71,11 @@ public class Core extends JavaPlugin{
getServer().getMessenger().registerIncomingPluginChannel(this, "sw:bridge", new BungeeReceiver());
getServer().getMessenger().registerOutgoingPluginChannel(this, "sw:bridge");
AuthlibInjector.inject();
try {
Bukkit.getLogger().log(Level.INFO, "Running on: " + new BufferedReader(new InputStreamReader(Runtime.getRuntime().exec("hostname").getInputStream())).readLine());
} catch (IOException e) {
e.printStackTrace();
}
}
@Override