Skip to content

Commit 21e93d2

Browse files
committed
Update FoxyInstance
1 parent f9f4b2f commit 21e93d2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

foxy/src/main/kotlin/net/cakeyfox/foxy/FoxyInstance.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,8 +127,9 @@ class FoxyInstance(
127127
.setEnableShutdownHook(false)
128128
.build()
129129

130-
this.commandHandler.handle()
130+
shardManager.shards.forEach { it.awaitReady() }
131131

132+
this.commandHandler.handle()
132133
leaderboardManager.startAutoRefresh()
133134
if (currentCluster.isMasterCluster) TasksUtils.launchTasks(this)
134135

0 commit comments

Comments
 (0)