Skip to content

Commit

Permalink
Rename master mode completions to MM for shorter msg
Browse files Browse the repository at this point in the history
  • Loading branch information
MrFast-js committed Jan 13, 2024
1 parent 95947b9 commit 469b3f9
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ public void showDungeonPlayerInfo(String name, boolean kickCommand) {
for (int i = 1; i <= highestMasterFloor; i++) {
masterCompletionsHoverString
.append(ChatFormatting.RED)
.append(i == 0 ? "Entrance: " : "Master Floor " + i + ": ")
.append("Master Floor " + i + ": ")
.append(ChatFormatting.YELLOW)
.append(masterCompletionObj.get(String.valueOf(i)).getAsInt())
.append("\n");
Expand All @@ -359,7 +359,7 @@ public void showDungeonPlayerInfo(String name, boolean kickCommand) {
}
masterCompletionsHoverString.append("\n" + ChatFormatting.GOLD + "Total: " + ChatFormatting.RESET).append(totalMasterRuns);

masterCompletions = new ChatComponentText(ChatFormatting.RED + " Master Floor Completions: " + ChatFormatting.GRAY + "(Hover)");
masterCompletions = new ChatComponentText(ChatFormatting.RED + " MM Completions: " + ChatFormatting.GRAY + "(Hover)");

masterCompletions.setChatStyle(masterCompletions.getChatStyle().setChatHoverEvent(new HoverEvent(HoverEvent.Action.SHOW_TEXT, new ChatComponentText(masterCompletionsHoverString.toString()))));
}
Expand Down

0 comments on commit 469b3f9

Please sign in to comment.