Remove System.out prints (2)
This commit is contained in:
@@ -5,6 +5,7 @@ import org.bukkit.Server;
|
||||
|
||||
import java.net.InetSocketAddress;
|
||||
import java.net.Socket;
|
||||
import moe.sob.Main;
|
||||
|
||||
public class ServerUtils {
|
||||
public static int port = 25565;
|
||||
@@ -22,7 +23,7 @@ public class ServerUtils {
|
||||
Bukkit.getConsoleSender().sendMessage("Server is online. Test notifying by sending a message to your webhook... (Pinged " + serverAddress + ":" + server.getPort() + ")");
|
||||
return true;
|
||||
} catch (Exception e) {
|
||||
System.out.println("Server is inactive. Pinging fallback address...");
|
||||
Main.mainSmall.getLogger().warning("Server is inactive. Pinging fallback address...");
|
||||
try {
|
||||
Server server = Bukkit.getServer();
|
||||
Socket s = new Socket();
|
||||
|
||||
Reference in New Issue
Block a user