From 4de1fe454df987bc7203aa8bf5c269d4a99298b6 Mon Sep 17 00:00:00 2001 From: William Bergh Date: Fri, 31 Jul 2020 21:48:22 +0200 Subject: [PATCH] Fixed oopsie --- .../totalfreedommod/command/Command_nickclean.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/me/totalfreedom/totalfreedommod/command/Command_nickclean.java b/src/main/java/me/totalfreedom/totalfreedommod/command/Command_nickclean.java index 9f0d5c3c..de963d8b 100644 --- a/src/main/java/me/totalfreedom/totalfreedommod/command/Command_nickclean.java +++ b/src/main/java/me/totalfreedom/totalfreedommod/command/Command_nickclean.java @@ -20,7 +20,8 @@ import org.bukkit.entity.Player; @CommandParameters(description = "Essentials Interface Command - Remove illegal chatcodes from nicknames of one or all players on server.", usage = "/ [player]", aliases = "nc") public class Command_nickclean extends FreedomCommand { - private Map colorCodes = new HashMap() {{ + private Map colorCodes = new HashMap() + {{ put("&0", Color.BLACK); put("&1", Color.BLUE); put("&2", Color.GREEN);