Fix player name refresh check
parent
e4ecd5d1b1
commit
7f9f9a01c4
|
@ -180,7 +180,7 @@ OR array_contains(array['minecraft:killed', 'minecraft:killed_by'], Live."Type")
|
||||||
.map { it[LiveStatistics.playerId] }
|
.map { it[LiveStatistics.playerId] }
|
||||||
|
|
||||||
savedPlayers
|
savedPlayers
|
||||||
.filter { Duration.between(Instant.now(), it.timestamp) > Duration.ofDays(1) }
|
.filter { Duration.between(it.timestamp, Instant.now()) > Duration.ofDays(1) }
|
||||||
.forEach { player ->
|
.forEach { player ->
|
||||||
runBlocking {
|
runBlocking {
|
||||||
val name = getName(player.id)
|
val name = getName(player.id)
|
||||||
|
|
Loading…
Reference in New Issue