Load ignores from database and add them into the chat event

This commit is contained in:
destro174
2021-06-23 20:05:47 +02:00
parent 5bea7c95f9
commit 11343938bc
2 changed files with 17 additions and 20 deletions
@@ -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
}