Skip to content

Commit

Permalink
Clear up confusing super vote wording
Browse files Browse the repository at this point in the history
Signed-off-by: applenick <[email protected]>
  • Loading branch information
applenick committed Jul 1, 2024
1 parent 8d6b8b9 commit afed870
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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()
Expand Down

0 comments on commit afed870

Please sign in to comment.