Bug Fixes

This commit is contained in:
Auxilor
2021-11-04 13:32:23 +00:00
parent 6a8637922b
commit 7119da13b7
2 changed files with 8 additions and 1 deletions

View File

@@ -114,7 +114,9 @@ class MySQLDataHandler(
}
private fun getPlayer(uuid: UUID): ResultRow {
val player = Players.select { Players.id eq uuid }.limit(1).singleOrNull()
val player = transaction {
Players.select { Players.id eq uuid }.limit(1).singleOrNull()
}
return if (player != null) {
player