!Fixed small args issue with /hideab

This commit is contained in:
Jules 2020-04-09 11:03:57 +02:00
parent ae3d8897e8
commit 58eeea7581

View File

@ -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]);