Fixed oopsie

This commit is contained in:
William Bergh 2020-07-31 21:48:22 +02:00
parent 80e39d3db1
commit 4de1fe454d

View File

@ -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 = "/<command> [player]", aliases = "nc") @CommandParameters(description = "Essentials Interface Command - Remove illegal chatcodes from nicknames of one or all players on server.", usage = "/<command> [player]", aliases = "nc")
public class Command_nickclean extends FreedomCommand public class Command_nickclean extends FreedomCommand
{ {
private Map<String, Color> colorCodes = new HashMap<String, Color>() {{ private Map<String, Color> colorCodes = new HashMap<String, Color>()
{{
put("&0", Color.BLACK); put("&0", Color.BLACK);
put("&1", Color.BLUE); put("&1", Color.BLUE);
put("&2", Color.GREEN); put("&2", Color.GREEN);