This commit is contained in:
tyuXX 2025-04-03 22:10:59 +03:00
parent f5cfb8a1a7
commit a931152f21
23 changed files with 60 additions and 17 deletions

View file

@ -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) {