Let's do some more live testing
This commit is contained in:
parent
6d75e9bd9e
commit
a09a30d460
1 changed files with 2 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue