respect log-player-connections flag in config for connection messages (#1503)
This commit is contained in:
@@ -106,7 +106,9 @@ public class AuthSessionHandler implements MinecraftSessionHandler {
|
||||
return CompletableFuture.completedFuture(null);
|
||||
}
|
||||
|
||||
if (server.getConfiguration().isLogPlayerConnections()) {
|
||||
logger.info("{} has connected", player);
|
||||
}
|
||||
|
||||
return server.getEventManager()
|
||||
.fire(new PermissionsSetupEvent(player, ConnectedPlayer.DEFAULT_PERMISSIONS))
|
||||
|
Reference in New Issue
Block a user