Skip to content

Commit

Permalink
Fix Placeholders
Browse files Browse the repository at this point in the history
  • Loading branch information
Angelillo15 committed Apr 27, 2024
1 parent 0ea9ae1 commit 92dfd0b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ public void enableVanish(boolean silent) {

playerWrapperManager.stream()
.forEach(p ->
p.sendMiniMessage(messages.get().vanish.vanishEnabledBroadcast(), "{player}", player.getName())
p.sendMiniMessage(messages.get().vanish.vanishEnabledBroadcast(), "player", player.getName())
);
}

Expand All @@ -125,7 +125,7 @@ public void disableVanish(boolean silent) {

playerWrapperManager.stream()
.forEach(p ->
p.sendMiniMessage(messages.get().vanish.vanishDisabledBroadcast(), "{player}", player.getName())
p.sendMiniMessage(messages.get().vanish.vanishDisabledBroadcast(), "player", player.getName())
);
}

Expand Down

0 comments on commit 92dfd0b

Please sign in to comment.