Add Withdraw/Deposit money
This commit is contained in:
parent
a931152f21
commit
586afe49f5
22 changed files with 128 additions and 9 deletions
|
|
@ -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()));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue