Skip to content

Commit

Permalink
use sqlapi
Browse files Browse the repository at this point in the history
  • Loading branch information
l.loesche committed Jun 3, 2024
1 parent 6f71dcd commit 8b99203
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions howto-dapp/src/main/java/de/timolia/howto/teamler/Teamler.kt
Original file line number Diff line number Diff line change
Expand Up @@ -108,10 +108,7 @@ class Teamler(
}

fun updateName() {
name = MojangService.nameFromUUid(uuid.toString())
if (name == null) {
name = SQLApi.getName(uuid).toString()
}
name = SQLApi.getName(uuid).toString()
}

override fun toString(): String {
Expand Down

0 comments on commit 8b99203

Please sign in to comment.