mirror of
https://github.com/Minestom/Minestom.git
synced 2025-01-18 22:21:22 +01:00
Remove debug message when enabling mojang auth
This commit is contained in:
parent
6e954082e1
commit
352874d935
@ -5,15 +5,14 @@ import net.minestom.server.MinecraftServer;
|
||||
|
||||
public class MojangAuth {
|
||||
|
||||
@Getter
|
||||
private static boolean usingMojangAuth = false;
|
||||
@Getter
|
||||
private static boolean usingMojangAuth = false;
|
||||
|
||||
public static void init() {
|
||||
if (MinecraftServer.getNettyServer().getAddress() == null) {
|
||||
System.out.println("Using Mojang Auth");
|
||||
usingMojangAuth = true;
|
||||
} else {
|
||||
throw new IllegalStateException("The server has already been started");
|
||||
}
|
||||
}
|
||||
public static void init() {
|
||||
if (MinecraftServer.getNettyServer().getAddress() == null) {
|
||||
usingMojangAuth = true;
|
||||
} else {
|
||||
throw new IllegalStateException("The server has already been started");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user