diff --git a/src/main/kotlin/club/mcscrims/speedhg/game/modules/LobbyAnnouncer.kt b/src/main/kotlin/club/mcscrims/speedhg/game/modules/LobbyAnnouncer.kt index fcb6a62..831e994 100644 --- a/src/main/kotlin/club/mcscrims/speedhg/game/modules/LobbyAnnouncer.kt +++ b/src/main/kotlin/club/mcscrims/speedhg/game/modules/LobbyAnnouncer.kt @@ -17,7 +17,7 @@ class LobbyAnnouncer( private var task: BukkitTask? = null companion object { - private const val INTERVAL_TICKS = 30 * 20L + private const val INTERVAL_TICKS = 45 * 20L } /** @@ -38,7 +38,9 @@ class LobbyAnnouncer( "Please share your ideas and suggestions in the #ideas forum on our Discord!\n" ) - Bukkit.broadcast( message ) + Bukkit.getOnlinePlayers().forEach { player -> + player.sendMessage( message ) + } }, INTERVAL_TICKS, INTERVAL_TICKS ) }