Fix votes placeholder for members.

This commit is contained in:
Fernando Pettinelli 2021-07-18 01:44:34 -04:00
parent ecbcc0324c
commit 81f687780e

View File

@ -136,7 +136,7 @@ public class PlaceholderProcessor {
} else {
returnValue = TextUtils.formatText(
placeholdersLoad.getString("Placeholders.fabledskyblock_island_votes.Non-empty")
.replace("{PLACEHOLDER}", "" + visitManager.getIslands().get(player.getUniqueId()).getVoters().size()));
.replace("{PLACEHOLDER}", "" + visitManager.getIslands().get(island.getOwnerUUID()).getVoters().size()));
}
break;
case "fabledskyblock_island_role":