File tree Expand file tree Collapse file tree
src/main/java/altherneum/fr/player Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -54,13 +54,13 @@ public void onFirstJoin(PlayerJoinEvent e) throws IOException {
5454 public void welcomeMessageEverybody (Player player ) throws IOException {
5555 for (Player players : Bukkit .getOnlinePlayers ()) {
5656 lang .languages lang = playerLang .getPlayerLang (player );
57- players .sendMessage (textTranslation .Welcome (lang , player .displayName ()));
57+ players .sendMessage (textTranslation .Welcome (lang , player .getDisplayName ()));
5858 }
5959 }
6060
6161 public void welcomeMessageToPlayer (Player player ) throws IOException {
6262 lang .languages lang = playerLang .getPlayerLang (player );
63- player .sendMessage (textTranslation .WelcomeBack (lang , player .displayName ()));
63+ player .sendMessage (textTranslation .WelcomeBack (lang , player .getDisplayName ()));
6464 }
6565
6666 public void setPlayerBeta (Player player ) throws IOException {
You can’t perform that action at this time.
0 commit comments