Remove debug message when enabling mojang auth

This commit is contained in:
themode 2020-10-13 19:06:29 +02:00
parent 6e954082e1
commit 352874d935

View File

@ -5,15 +5,14 @@ import net.minestom.server.MinecraftServer;
public class MojangAuth { public class MojangAuth {
@Getter @Getter
private static boolean usingMojangAuth = false; private static boolean usingMojangAuth = false;
public static void init() { public static void init() {
if (MinecraftServer.getNettyServer().getAddress() == null) { if (MinecraftServer.getNettyServer().getAddress() == null) {
System.out.println("Using Mojang Auth"); usingMojangAuth = true;
usingMojangAuth = true; } else {
} else { throw new IllegalStateException("The server has already been started");
throw new IllegalStateException("The server has already been started"); }
} }
}
} }