Skip to content

Commit

Permalink
feat: change rankingview format
Browse files Browse the repository at this point in the history
  • Loading branch information
Yuhtin committed Sep 23, 2021
1 parent 5584e94 commit 95ca51c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions src/main/java/com/nextplugins/economy/views/RankingView.java
Original file line number Diff line number Diff line change
Expand Up @@ -152,10 +152,8 @@ private InventoryItem sortRankingItem(Viewer viewer) {
)
.wrap())
.defaultCallback(event -> {

rankingSorterType.put(viewer.getName(), currentFilter.incrementAndGet() > 0 ? -1 : currentFilter.get());
event.updateInventory();

});
}

Expand Down
4 changes: 2 additions & 2 deletions src/main/resources/ranking.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ ranking:
- ''
inventory:
title: 'Ranking de Jogadores (Coins)'
head-display-name-top: '$tycoonTag&e$positionº &8- &f$player'
head-display-name: '&e$positionº $prefix$player$suffix'
head-display-name-top: '&f$positionº, &7$tycoon$prefix$player$suffix'
head-display-name: '&f$positionº, &7$prefix$player$suffix'
head-lore:
- ''
- ' &7Quantia: &e$amount'
Expand Down

0 comments on commit 95ca51c

Please sign in to comment.