Fixed DatabaseConnection not being loaded on startup

This commit is contained in:
auto committed 2021-06-30 02:02:35 +02:00
1 parent a9550c82fe
commit 313d09906d
4 files changed
+11 -5

No files matched your search

@@ -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);