Skip to content

Commit

Permalink
Fixed arena display name on duel message
Browse files Browse the repository at this point in the history
  • Loading branch information
Devlrxxh committed Apr 1, 2024
1 parent db96eb1 commit f28208a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/me/lrxh/practice/duel/DuelProcedure.java
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,9 @@ public void send() {
}
}
} else {
sender.sendMessage(Locale.DUEL_SENT.format(sender, kit.getName(), target.getName(), arena.getName()));
sender.sendMessage(Locale.DUEL_SENT.format(sender, kit.getName(), target.getName(), arena.getDisplayName()));

for (String msg : Locale.DUEL_RECEIVED.formatLines(sender, kit.getName(), sender.getName(), arena.getName(), BukkitReflection.getPing(sender))) {
for (String msg : Locale.DUEL_RECEIVED.formatLines(sender, kit.getName(), sender.getName(), arena.getDisplayName(), BukkitReflection.getPing(sender))) {
if (msg.contains("%CLICKABLE%")) {
ChatComponentBuilder builder = new ChatComponentBuilder(Locale.DUEL_RECEIVED_CLICKABLE.format(target,
sender.getName()
Expand Down

0 comments on commit f28208a

Please sign in to comment.