We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c4ef103 commit a5746c3Copy full SHA for a5746c3
src/main/kotlin/dulkirmod/features/DragonFeatures.kt
@@ -76,7 +76,7 @@ object DragonFeatures {
76
77
val curTime = System.currentTimeMillis()
78
dragons.forEach {
79
- if (it.spawnTime + 5000 < curTime || isAlive(it.color)) return@forEach
+ if (it.spawnTime + 5000 < curTime || !isAlive(it.color)) return@forEach
80
val timeUntilSpawn = (it.spawnTime + 5000 - curTime) / 1000f
81
val color = when {
82
timeUntilSpawn <= 1 -> "§c"
0 commit comments