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