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