Fixed DatabaseConnection not being loaded on startup

This commit is contained in:
2021-06-30 02:02:35 +02:00
parent a9550c82fe
commit 313d09906d
4 changed files with 11 additions and 5 deletions
@@ -27,10 +27,10 @@ public class ChatUser {
this.partyId = partyId;
this.toggledPartyChat = toggledChat;
//displayName = Queries.getNickname(uuid); // todo fix sql
//if (displayName == null) {
displayName = Queries.getNickname(uuid); // todo fix sql
if (displayName == null) {
displayName = Utility.getDisplayName(uuid);
//}
}
prefix = Utility.getPrefix(uuid, true);
staffPrefix = Utility.getStaffPrefix(uuid);