Skip to content

Commit

Permalink
fix money placeholder being registered twice
Browse files Browse the repository at this point in the history
  • Loading branch information
andrei1058 committed Oct 14, 2023
1 parent cd098ec commit 74a8ca1
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,6 @@ public boolean isTabFormattingDisabled() {
providers.add(new PlaceholderProvider("{player}", player::getDisplayName));
providers.add(new PlaceholderProvider("{money}", () -> String.valueOf(getEconomy().getMoney(player))));
providers.add(new PlaceholderProvider("{playerName}", player::getCustomName));
providers.add(new PlaceholderProvider("{money}", () -> String.valueOf(getEconomy().getMoney(player))));
providers.add(new PlaceholderProvider("{date}", () -> dateFormat.format(new Date(System.currentTimeMillis()))));
// fixme 29/08/2023: disabled for now because this is not a dynamic placeholder. Let's see what's the impact.
// providers.add(new PlaceholderProvider("{serverIp}", () -> BedWars.config.getString(ConfigPath.GENERAL_CONFIG_PLACEHOLDERS_REPLACEMENTS_SERVER_IP)));
Expand Down

0 comments on commit 74a8ca1

Please sign in to comment.