diff options
author | My-Name-Is-Jeff <37018278+My-Name-Is-Jeff@users.noreply.github.com> | 2021-09-25 09:59:25 -0400 |
---|---|---|
committer | My-Name-Is-Jeff <37018278+My-Name-Is-Jeff@users.noreply.github.com> | 2021-09-25 09:59:25 -0400 |
commit | f2c97c644ad0daa4e9ecdb39ed530265f9ba9487 (patch) | |
tree | 08d68a2239c17350fef82b35c5a1ecfc063d5d40 /src | |
parent | 4e1747ebe975834b768e8ffdb3ca629df3145f16 (diff) | |
download | SkytilsMod-f2c97c644ad0daa4e9ecdb39ed530265f9ba9487.tar.gz SkytilsMod-f2c97c644ad0daa4e9ecdb39ed530265f9ba9487.tar.bz2 SkytilsMod-f2c97c644ad0daa4e9ecdb39ed530265f9ba9487.zip |
only trigger miniboss spawn when boss is started
Diffstat (limited to 'src')
-rw-r--r-- | src/main/kotlin/skytils/skytilsmod/features/impl/misc/SlayerFeatures.kt | 2 |
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) } } |