Skip to content

Commit 93bc58d

Browse files
committed
fix: not comparing registry value in SlayerFeatures
[no ci]
1 parent d926035 commit 93bc58d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mod/src/main/kotlin/gg/skytils/skytilsmod/features/impl/slayer/SlayerFeatures.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ object SlayerFeatures : EventSubscriber, CoroutineScope {
374374
}
375375

376376
if (packet is PlaySoundS2CPacket) {
377-
if (Skytils.config.slayerMinibossSpawnAlert && slayerEntity == null && packet.sound.value() == SoundEvents.ENTITY_GENERIC_EXPLODE && packet.volume == 0.6f && packet.pitch == 9 / 7f && GuiManager.title != "§cMINIBOSS" && sidebarLines.any {
377+
if (Skytils.config.slayerMinibossSpawnAlert && slayerEntity == null && packet.sound.value() == SoundEvents.ENTITY_GENERIC_EXPLODE.value() && packet.volume == 0.6f && packet.pitch == 9 / 7f && GuiManager.title != "§cMINIBOSS" && sidebarLines.any {
378378
it.contains("Slayer Quest")
379379
}) {
380380
createTitle("§cMINIBOSS", 20)

0 commit comments

Comments
 (0)