From afed870d6e809d26b8e2ff324a2bdb84b104b296 Mon Sep 17 00:00:00 2001 From: applenick Date: Mon, 1 Jul 2024 02:27:45 -0700 Subject: [PATCH] Clear up confusing super vote wording Signed-off-by: applenick --- .../requests/feature/SponsorVotingBookCreator.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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()