Skip to content

Commit

Permalink
style: run scalafmtAll
Browse files Browse the repository at this point in the history
  • Loading branch information
Lucky3028 committed Sep 3, 2022
1 parent b215d97 commit 99610ba
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,11 @@ object CommandHandler extends TabExecutor {
val list = useCase.list
val messages =
if (list.isEmpty) List(s"${ChatColor.RED}設定はありません。")
else List("=== TimeToGo GameMode Schedules ===") ++
list.map(modeTime => s"${modeTime.time.toString}: ${modeTime.gameMode.entryName}")
.map(msg => s"${ChatColor.BLUE}$msg")
else
List("=== TimeToGo GameMode Schedules ===") ++
list
.map(modeTime => s"${modeTime.time.toString}: ${modeTime.gameMode.entryName}")
.map(msg => s"${ChatColor.BLUE}$msg")
commandSender.sendMessage(messages.toArray)
case _ =>
}
Expand Down

0 comments on commit 99610ba

Please sign in to comment.