aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main/kotlin/dulkirmod/config/Config.kt2
-rw-r--r--src/main/kotlin/dulkirmod/features/MatchoAlert.kt8
2 files changed, 5 insertions, 5 deletions
diff --git a/src/main/kotlin/dulkirmod/config/Config.kt b/src/main/kotlin/dulkirmod/config/Config.kt
index 11f4ea5..6dad478 100644
--- a/src/main/kotlin/dulkirmod/config/Config.kt
+++ b/src/main/kotlin/dulkirmod/config/Config.kt
@@ -495,7 +495,7 @@ object Config : Vigilant(File("./config/dulkirmod/config.toml"), "DulkirMod", so
subcategory = "Audio"
)
fun demoVolume() {
- DulkirMod.mc.thePlayer.playSound("mob.ghast.scream", 1f * Config.bestiaryNotifVol, 1f)
+ DulkirMod.mc.thePlayer.playSound("mob.ghast.scream", 1f * bestiaryNotifVol, 1f)
}
@Property(
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
}
}
}