@Override
    public void runCommand(CommandSender sender, List<String> args) {
        Player receiver = null;
        String title = null;
        if (args.size() == 2) {
            receiver = Bukkit.getPlayer(args.get(0));
            title = args.get(1);
        } else if (sender instanceof Player && args.size() != 2) {
            receiver = (Player) sender;
            title = args.get(0);
        }
        if (plugin.getManager().giveBookToPlayer(receiver, title) && receiver != null) {
            sender.sendMessage(colour1 + "You have given " + colour2 + receiver.getName() + colour1 + " the book "
                    + colour2 + title);
            receiver.sendMessage(colour1 + "You have been given the book " + colour2 + title);
        } else
            sender.sendMessage(colour3 + "Failed to give book to player.");
    }