From 58eeea7581b18be210aaf08d9ff3e987cb41beda Mon Sep 17 00:00:00 2001 From: Jules Date: Thu, 9 Apr 2020 11:03:57 +0200 Subject: [PATCH] !Fixed small args issue with /hideab --- .../mmocore/command/rpg/admin/HideActionBarCommandMap.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/Indyuce/mmocore/command/rpg/admin/HideActionBarCommandMap.java b/src/main/java/net/Indyuce/mmocore/command/rpg/admin/HideActionBarCommandMap.java index 30227577..aa535ee7 100644 --- a/src/main/java/net/Indyuce/mmocore/command/rpg/admin/HideActionBarCommandMap.java +++ b/src/main/java/net/Indyuce/mmocore/command/rpg/admin/HideActionBarCommandMap.java @@ -20,7 +20,7 @@ public class HideActionBarCommandMap extends CommandEnd { @Override public CommandResult execute(CommandSender sender, String[] args) { - if (args.length < 3) + if (args.length < 4) return CommandResult.THROW_USAGE; Player player = Bukkit.getPlayer(args[2]);