mirror of
https://github.com/essentials/Essentials.git
synced 2025-10-01 08:36:48 +02:00
Adding a command deprecated notice for players
This commit is contained in:
@@ -22,7 +22,9 @@ public class Commandmangcheckp extends EssentialsCommand
|
||||
}
|
||||
final String target = args[0];
|
||||
final String perm = args[1];
|
||||
ess.getServer().dispatchCommand(sender, "/permissions g:"+target+" has "+perm+"");
|
||||
String command = "/permissions g:"+target+" has "+perm;
|
||||
sender.sendMessage(commandLabel + " is deprecated. Use " + command + " instead.");
|
||||
ess.getServer().dispatchCommand(sender, command);
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user