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