diff options
author | IlmarsXd <ilmars500@gmail.com> | 2023-02-08 16:20:04 +0200 |
---|---|---|
committer | IlmarsXd <ilmars500@gmail.com> | 2023-02-08 16:20:04 +0200 |
commit | bae1935070891639839716892cd08053cd348829 (patch) | |
tree | b7e5c4fe32b660955e6fe0d38caaf070d9ceb5f5 /src/main/kotlin/dulkirmod/features | |
parent | 05ca5ef3989f03ac4b9e5bacc959f9fe60cfbdcb (diff) | |
download | DulkirMod-bae1935070891639839716892cd08053cd348829.tar.gz DulkirMod-bae1935070891639839716892cd08053cd348829.tar.bz2 DulkirMod-bae1935070891639839716892cd08053cd348829.zip |
cleanup code
Diffstat (limited to 'src/main/kotlin/dulkirmod/features')
-rw-r--r-- | src/main/kotlin/dulkirmod/features/MatchoAlert.kt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/main/kotlin/dulkirmod/features/MatchoAlert.kt b/src/main/kotlin/dulkirmod/features/MatchoAlert.kt index f713372..c140036 100644 --- a/src/main/kotlin/dulkirmod/features/MatchoAlert.kt +++ b/src/main/kotlin/dulkirmod/features/MatchoAlert.kt @@ -5,7 +5,7 @@ import dulkirmod.config.Config import dulkirmod.utils.TabListUtils import dulkirmod.utils.Utils -class MatchoAlert() { +class MatchoAlert { var hasSentAlert = false @@ -26,16 +26,16 @@ class MatchoAlert() { DulkirMod.titleUtils.drawStringForTime("${color}Matcho", 5000) if (Config.bestiaryAlertSounds) DulkirMod.mc.thePlayer.playSound("mob.villager.yes", 1f * Config.bestiaryNotifVol, 0f) - hasSentAlert = true; + hasSentAlert = true } else if (s == " INACTIVE") hasSentAlert = false - break; + break } if (s == "Volcano Explosivity:") explo = true if (s != null) { if (s.contains("Area:") && !s.contains("Crimson Isle")) { hasSentAlert = false - break; + break } } } |