Skip to content

Commit

Permalink
chaxz0 wants ice spray in ticks
Browse files Browse the repository at this point in the history
  • Loading branch information
SubAt0m1c committed Nov 1, 2024
1 parent 38fc80a commit ad52628
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ object DragonCheck {

WitherDragonsEnum.entries.forEach { dragon ->
if (dragon.isSprayed || dragon.state != WitherDragonState.ALIVE || dragon.entity == null || sprayedEntity.getDistanceToEntity(dragon.entity) > 8) return@forEach
if (sendSpray) modMessage("§${dragon.colorCode}${dragon.name} §fdragon was sprayed in §c${(currentTick - dragon.spawnedTime)*50}§fms ")
if (sendSpray) modMessage("§${dragon.colorCode}${dragon.name} §fdragon was sprayed in §c${(currentTick - dragon.spawnedTime)}§fticks.")
dragon.isSprayed = true
}
}
Expand Down

0 comments on commit ad52628

Please sign in to comment.