Fix player name refresh check

main
Kevin Belisle 2021-09-01 11:55:22 -04:00
parent e4ecd5d1b1
commit 7f9f9a01c4
1 changed files with 1 additions and 1 deletions

View File

@ -180,7 +180,7 @@ OR array_contains(array['minecraft:killed', 'minecraft:killed_by'], Live."Type")
.map { it[LiveStatistics.playerId] }
savedPlayers
.filter { Duration.between(Instant.now(), it.timestamp) > Duration.ofDays(1) }
.filter { Duration.between(it.timestamp, Instant.now()) > Duration.ofDays(1) }
.forEach { player ->
runBlocking {
val name = getName(player.id)