Add Withdraw/Deposit money

This commit is contained in:
tyuXX 2025-04-03 23:05:09 +03:00
parent a931152f21
commit 586afe49f5
22 changed files with 128 additions and 9 deletions

View file

@ -16,7 +16,6 @@ public class BuyEnchantment implements CommandExecutor {
public boolean onCommand(CommandSender sender, Command command, String label, String[] args) {
if (sender instanceof Player) {
if (args.length < 1) {
sender.sendMessage(GrimmsServer.instance.getCommand("buyEnchantment").getUsage());
return false;
}
Enchantment enchantment = Enchantment.getByKey(NamespacedKey.minecraft(args[0].toLowerCase()));