Skip to content

Commit b6aef53

Browse files
committed
fix discord wrongly refactored
1 parent ee31bf3 commit b6aef53

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/altherneum/fr/discord/eventsDiscord.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public static void ChatLinker() {
3939

4040
public static TextComponent TextPlayerHover(MessageAuthor messageAuthor, Server server) throws IOException, ParseException {
4141
TextComponent PlayerComponent = new TextComponent();
42-
PlayerComponent.setText("[ §r §6" + messageAuthor.displayName() + " §r]");
42+
PlayerComponent.setText("[ §r §6" + messageAuthor.getDisplayName() + " §r]");
4343
String hover = "";
4444
hover = hover.concat("\n");
4545
hover = hover.concat("§6§lUUID§r: " + messageAuthor.getIdAsString());

0 commit comments

Comments
 (0)