1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-10-04 18:11:43 +02:00

Corrected all commands of PermCommands

onCommand now supports the change of the permissions prefix
This commit is contained in:
snowleo
2011-06-26 15:47:28 +02:00
parent d668466c59
commit 34db81cc51
24 changed files with 39 additions and 37 deletions

View File

@@ -22,7 +22,7 @@ public class Commandmanuaddp extends EssentialsCommand
}
final String player = args[0];
final String perm = args[1];
String command = "/permissions "+player+" perms add "+perm;
String command = "permissions "+player+" perms add "+perm;
sender.sendMessage(commandLabel + " is deprecated. Use " + command + " instead.");
ess.getServer().dispatchCommand(sender, command);
}