aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
authorMy-Name-Is-Jeff <37018278+My-Name-Is-Jeff@users.noreply.github.com>2021-09-25 09:59:25 -0400
committerMy-Name-Is-Jeff <37018278+My-Name-Is-Jeff@users.noreply.github.com>2021-09-25 09:59:25 -0400
commitf2c97c644ad0daa4e9ecdb39ed530265f9ba9487 (patch)
tree08d68a2239c17350fef82b35c5a1ecfc063d5d40 /src/main
parent4e1747ebe975834b768e8ffdb3ca629df3145f16 (diff)
downloadSkytilsMod-f2c97c644ad0daa4e9ecdb39ed530265f9ba9487.tar.gz
SkytilsMod-f2c97c644ad0daa4e9ecdb39ed530265f9ba9487.tar.bz2
SkytilsMod-f2c97c644ad0daa4e9ecdb39ed530265f9ba9487.zip
only trigger miniboss spawn when boss is started
Diffstat (limited to 'src/main')
-rw-r--r--src/main/kotlin/skytils/skytilsmod/features/impl/misc/SlayerFeatures.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/kotlin/skytils/skytilsmod/features/impl/misc/SlayerFeatures.kt b/src/main/kotlin/skytils/skytilsmod/features/impl/misc/SlayerFeatures.kt
index 2afb4bfc..d462f3d5 100644
--- a/src/main/kotlin/skytils/skytilsmod/features/impl/misc/SlayerFeatures.kt
+++ b/src/main/kotlin/skytils/skytilsmod/features/impl/misc/SlayerFeatures.kt
@@ -273,7 +273,7 @@ class SlayerFeatures {
}
if (packet is S29PacketSoundEffect) {
- if (slayerEntity == null && Skytils.config.slayerMinibossSpawnAlert && packet.soundName == "random.explode" && packet.volume == 0.6f && packet.pitch == 9 / 7f && GuiManager.title != "§cMINIBOSS") {
+ if (hasSlayerText && slayerEntity == null && Skytils.config.slayerMinibossSpawnAlert && packet.soundName == "random.explode" && packet.volume == 0.6f && packet.pitch == 9 / 7f && GuiManager.title != "§cMINIBOSS") {
createTitle("§cMINIBOSS", 20)
}
}