From a09a30d4604a81bbd916cee8020321addcc6d2d2 Mon Sep 17 00:00:00 2001 From: NorbiPeti Date: Fri, 16 Dec 2016 20:57:57 +0100 Subject: [PATCH] Let's do some more live testing --- src/main/java/buttondevteam/chat/ChatProcessing.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/buttondevteam/chat/ChatProcessing.java b/src/main/java/buttondevteam/chat/ChatProcessing.java index 238d28a..232cfb8 100644 --- a/src/main/java/buttondevteam/chat/ChatProcessing.java +++ b/src/main/java/buttondevteam/chat/ChatProcessing.java @@ -147,6 +147,8 @@ public class ChatProcessing { formatters.add(new ChatFormatterBuilder().setRegex(Pattern.compile(nicksb.toString())).setColor(Color.Aqua) .setOnmatch((String match) -> { + System.out.println("Match: " + match); + System.out.println("A nickname: " + PlayerListener.nicknames.keySet().stream().findAny()); if (PlayerListener.nicknames.containsKey(match)) { Player p = Bukkit.getPlayer(PlayerListener.nicknames.get(match)); if (p == null) {