Skip to content

Commit

Permalink
Merge pull request #1916 from GiganticMinecraft/fix/canNotToggleFairy…
Browse files Browse the repository at this point in the history
…SoundOnSpeak

妖精が喋ったときに音を鳴らすかという設定がトグルできない不具合を修正
  • Loading branch information
Lucky3028 authored Feb 26, 2023
2 parents a0b3aaa + ce93b1f commit a0e2b4f
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,8 @@ object System {
val uuid = player.getUniqueId
for {
isPlayFairySpeechSound <- doPlaySoundOnSpeak(uuid)
} yield persistence.setPlaySoundOnSpeech(uuid, !isPlayFairySpeechSound)
_ <- persistence.setPlaySoundOnSpeech(uuid, !isPlayFairySpeechSound)
} yield ()
}

override def sendDisappearTimeToChat: Kleisli[IO, Player, Unit] = Kleisli {
Expand Down

0 comments on commit a0e2b4f

Please sign in to comment.