diff --git a/VotingPlugin/src/com/bencodez/votingplugin/commands/gui/player/VoteURL.java b/VotingPlugin/src/com/bencodez/votingplugin/commands/gui/player/VoteURL.java index dd9a4eb06..831f0ae11 100644 --- a/VotingPlugin/src/com/bencodez/votingplugin/commands/gui/player/VoteURL.java +++ b/VotingPlugin/src/com/bencodez/votingplugin/commands/gui/player/VoteURL.java @@ -167,7 +167,7 @@ public void onBook(Player player) { } String url = PlaceholderUtils.replacePlaceHolder(PlaceholderUtils.replacePlaceHolder( site.getVoteURLJsonStrip(), "player", user.getPlayerName()), "num", "" + i); - layout.replaceTextComponent("%num%", BookUtil.TextBuilder.of(text).build()); + layout.replaceTextComponent("[num]", BookUtil.TextBuilder.of("" + i).build()); layout.replaceTextComponent("[UrlText]", BookUtil.TextBuilder.of(text).color(color).onClick(BookUtil.ClickAction.openUrl(url)) .onHover(BookUtil.HoverAction.showText(url)).build());