diff --git a/src/main/java/dev/pgm/community/requests/feature/SponsorVotingBookCreator.java b/src/main/java/dev/pgm/community/requests/feature/SponsorVotingBookCreator.java index 3537777..0580e9e 100644 --- a/src/main/java/dev/pgm/community/requests/feature/SponsorVotingBookCreator.java +++ b/src/main/java/dev/pgm/community/requests/feature/SponsorVotingBookCreator.java @@ -5,6 +5,7 @@ import static tc.oc.pgm.util.player.PlayerComponent.player; import dev.pgm.community.Community; +import dev.pgm.community.requests.RequestConfig; import dev.pgm.community.requests.RequestProfile; import dev.pgm.community.requests.SponsorRequest; import dev.pgm.community.requests.supervotes.SuperVoteComponents; @@ -144,12 +145,12 @@ private Component getVoteMultiplierComponent(int multiplier) { stdHoverBuilder.append(rankComponent).appendNewline(); } + int value = ((RequestConfig) manager.getConfig()).getSuperVoteMultiplier(); Component supervote = text() .append(MessageUtils.VOTE) .append(text(" Super Vote", NamedTextColor.LIGHT_PURPLE)) - .append(text(" adds ", NamedTextColor.GRAY)) - .append(text("3x", NamedTextColor.LIGHT_PURPLE, TextDecoration.BOLD)) - .append(text(" to your multiplier", NamedTextColor.GRAY)) + .append(text(" boosts your vote by ", NamedTextColor.GRAY)) + .append(text(value, NamedTextColor.LIGHT_PURPLE, TextDecoration.BOLD)) .build(); Component shop = text()