summaryrefslogtreecommitdiffstats
path: root/EssentialsPermissionsCommands/src/com/earth2me/essentials/permissions/Commandmanucheckp.java
diff options
context:
space:
mode:
Diffstat (limited to 'EssentialsPermissionsCommands/src/com/earth2me/essentials/permissions/Commandmanucheckp.java')
-rw-r--r--EssentialsPermissionsCommands/src/com/earth2me/essentials/permissions/Commandmanucheckp.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/EssentialsPermissionsCommands/src/com/earth2me/essentials/permissions/Commandmanucheckp.java b/EssentialsPermissionsCommands/src/com/earth2me/essentials/permissions/Commandmanucheckp.java
index 2a4bc6548..df713fc31 100644
--- a/EssentialsPermissionsCommands/src/com/earth2me/essentials/permissions/Commandmanucheckp.java
+++ b/EssentialsPermissionsCommands/src/com/earth2me/essentials/permissions/Commandmanucheckp.java
@@ -22,7 +22,9 @@ public class Commandmanucheckp extends EssentialsCommand
}
final String player = args[0];
final String perm = args[1];
- ess.getServer().dispatchCommand(sender, "/permissions "+player+" has "+perm+"");
+ String command = "/permissions "+player+" has "+perm;
+ sender.sendMessage(commandLabel + " is deprecated. Use " + command + " instead.");
+ ess.getServer().dispatchCommand(sender, command);
}