This commit is contained in:
tyuXX 2026-07-07 22:14:02 +03:00
parent f7f033c36d
commit 90a2a86374
59 changed files with 637 additions and 394 deletions

View file

@ -8,12 +8,13 @@ import org.bukkit.entity.Player;
import org.gsdistance.grimmsServer.GrimmsServer;
import org.gsdistance.grimmsServer.Shared;
import org.gsdistance.grimmsServer.Stats.PlayerStats;
import org.jetbrains.annotations.NotNull;
public class SendMoney implements CommandExecutor {
public SendMoney() {
}
public boolean onCommand(CommandSender sender, Command command, String label, String[] args) {
public boolean onCommand(@NotNull CommandSender sender, @NotNull Command command, @NotNull String label, @NotNull String[] args) {
if (sender instanceof Player) {
if (args.length < 2) {
sender.sendMessage(ChatColor.RED + "Usage: /sendMoney <player> <amount>");