Update
This commit is contained in:
parent
f5cfb8a1a7
commit
a931152f21
23 changed files with 60 additions and 17 deletions
|
|
@ -12,7 +12,7 @@ public class SendMoney implements CommandExecutor {
|
|||
public boolean onCommand(CommandSender sender, Command command, String label, String[] args) {
|
||||
if (sender instanceof Player) {
|
||||
if (args.length < 2) {
|
||||
sender.sendMessage("Usage: /sendmoney <player> <amount>");
|
||||
sender.sendMessage(GrimmsServer.instance.getCommand("sendMoney").getUsage());
|
||||
return false;
|
||||
}
|
||||
if (GrimmsServer.instance.getServer().getPlayer(args[0]) == null) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue