From 253942652a6d871c288efba01752870426ef5a26 Mon Sep 17 00:00:00 2001 From: My-Name-Is-Jeff <37018278+My-Name-Is-Jeff@users.noreply.github.com> Date: Tue, 29 Aug 2023 23:45:47 -0400 Subject: [PATCH] fix snow troller --- .../features/impl/dungeons/MasterMode7Features.kt | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/main/kotlin/gg/skytils/skytilsmod/features/impl/dungeons/MasterMode7Features.kt b/src/main/kotlin/gg/skytils/skytilsmod/features/impl/dungeons/MasterMode7Features.kt index 0472968cd..2ba345a76 100644 --- a/src/main/kotlin/gg/skytils/skytilsmod/features/impl/dungeons/MasterMode7Features.kt +++ b/src/main/kotlin/gg/skytils/skytilsmod/features/impl/dungeons/MasterMode7Features.kt @@ -98,7 +98,6 @@ object MasterMode7Features { WitherKingDragons.values().find { it.blockPos.x == x.toInt() && it.blockPos.z == z.toInt() } ?: return if (spawningDragons.add(drag)) { printDevMessage("${drag.name} spawning $x $y $z", "witherkingdrags") - } } else if (event.packet is S2APacketParticles) { event.packet.apply { @@ -108,9 +107,9 @@ object MasterMode7Features { } ?: return if (owner !in dragonSpawnTimes) { dragonSpawnTimes[owner] = System.currentTimeMillis() + 5000 - } - if (Skytils.config.witherKingDragonSpawnAlert) { - UChat.chat("§c§lThe ${owner.chatColor}§l${owner.name} §c§ldragon is spawning!") + if (Skytils.config.witherKingDragonSpawnAlert) { + UChat.chat("§c§lThe ${owner.chatColor}§l${owner.name} §c§ldragon is spawning!") + } } } }