Load ignores from database and add them into the chat event

This commit is contained in:
destro174 committed 2021-06-23 20:05:47 +02:00
1 parent 5bea7c95f9
commit 11343938bc
2 files changed
+17 -20

No files matched your search

@@ -41,7 +41,7 @@ public class ChatUser {
replyTarget = null;
gcCooldown = System.currentTimeMillis(); // players can't use gc for 30 seconds after logging in if we use this?
mails = new LinkedList<>(); // todo load mails
ignoredPlayers = new LinkedList<>(); // todo load ignoredPlayers
ignoredPlayers = Queries.getIgnoredUsers(uuid);
ignoredBy = new LinkedList<>(); // todo load ignoredPlayers
}