mirror of
https://github.com/essentials/Essentials.git
synced 2025-10-03 17:41:57 +02:00
Adding a command deprecated notice for players
This commit is contained in:
@@ -21,8 +21,9 @@ public class Commandmanload extends EssentialsCommand
|
||||
{
|
||||
world = args[0];
|
||||
}
|
||||
|
||||
ess.getServer().dispatchCommand(sender, "/permissions -reload "+world+"");
|
||||
String command = "/permissions -reload "+world;
|
||||
sender.sendMessage(commandLabel + " is deprecated. Use " + command + " instead.");
|
||||
ess.getServer().dispatchCommand(sender, command);
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user