mirror of
https://github.com/essentials/Essentials.git
synced 2025-10-01 16:46:51 +02:00
Adding a command deprecated notice for players
This commit is contained in:
@@ -21,7 +21,9 @@ public class Commandmanudel extends EssentialsCommand
|
||||
throw new NotEnoughArgumentsException();
|
||||
}
|
||||
final String player = args[0];
|
||||
ess.getServer().dispatchCommand(sender, "/permissions "+player+" delete");
|
||||
String command = "/permissions "+player+" delete";
|
||||
sender.sendMessage(commandLabel + " is deprecated. Use " + command + " instead.");
|
||||
ess.getServer().dispatchCommand(sender, command);
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user