We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d36a87 commit fd59b74Copy full SHA for fd59b74
src/main/java/net/theevilreaper/bounce/util/PlayerUtil.java
@@ -84,7 +84,7 @@ public void broadcastWinner() {
84
for (BounceProfile profile : profileService.getProfileMap().values()) {
85
boolean isWinner = profile.equals(winnerProfile);
86
profile.sendStats(isWinner);
87
- var title = Title.title(player.getCustomName(), Component.text("wons the game", NamedTextColor.GRAY), Title.DEFAULT_TIMES);
+ var title = Title.title(player.getDisplayName(), Component.text("wons the game", NamedTextColor.GRAY), Title.DEFAULT_TIMES);
88
player.sendTitlePart(TitlePart.TITLE, title.title());
89
player.sendTitlePart(TitlePart.SUBTITLE, title.subtitle());
90
player.sendTitlePart(TitlePart.TIMES, title.times());
0 commit comments