Skip to content

Commit

Permalink
Added rating amount placeholder
Browse files Browse the repository at this point in the history
  • Loading branch information
OmerBenGera committed Feb 19, 2022
1 parent 609c5c7 commit f2ae00d
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -149,6 +149,7 @@ public abstract class PlaceholderHook {
.put("is_member", (island, superiorPlayer) -> island.isMember(superiorPlayer) ? "Yes" : "No")
.put("is_coop", (island, superiorPlayer) -> island.isCoop(superiorPlayer) ? "Yes" : "No")
.put("rating", (island, superiorPlayer) -> StringUtils.format(island.getTotalRating()))
.put("rating_amount", (island, superiorPlayer) -> StringUtils.format(island.getRatingAmount()))
.put("rating_stars", (island, superiorPlayer) ->
StringUtils.formatRating(superiorPlayer.getUserLocale(), island.getTotalRating()))
.put("warps_limit", (island, superiorPlayer) -> island.getWarpsLimit() + "")
Expand Down

0 comments on commit f2ae00d

Please sign in to comment.