Skip to content

Commit

Permalink
fix snow troller
Browse files Browse the repository at this point in the history
  • Loading branch information
My-Name-Is-Jeff committed Aug 30, 2023
1 parent 2925b7e commit 2539426
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -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!")
}
}
}
}
Expand Down

0 comments on commit 2539426

Please sign in to comment.