From 169e38be59ca3b5a2339627616f52c240bd0c1af Mon Sep 17 00:00:00 2001 From: ljacqu Date: Sat, 12 Dec 2015 11:58:16 +0100 Subject: [PATCH] Fix HelpPrinter printing the enum name instead of the permission node --- src/main/java/fr/xephi/authme/command/help/HelpPrinter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/fr/xephi/authme/command/help/HelpPrinter.java b/src/main/java/fr/xephi/authme/command/help/HelpPrinter.java index 56ad48d8..a4426cb4 100644 --- a/src/main/java/fr/xephi/authme/command/help/HelpPrinter.java +++ b/src/main/java/fr/xephi/authme/command/help/HelpPrinter.java @@ -102,7 +102,7 @@ public class HelpPrinter { if (sender instanceof Player) nodePermission = AuthMe.getInstance().getPermissionsManager().hasPermission((Player) sender, node); final String nodePermsString = ChatColor.GRAY + (nodePermission ? ChatColor.ITALIC + " (Permission!)" : ChatColor.ITALIC + " (No Permission!)"); - sender.sendMessage(" " + ChatColor.YELLOW + ChatColor.ITALIC + node + nodePermsString); + sender.sendMessage(" " + ChatColor.YELLOW + ChatColor.ITALIC + node.getNode() + nodePermsString); } // Print the default permission