Skip to content

Commit

Permalink
feat: Colour territory attack time if player is inside territory [ski…
Browse files Browse the repository at this point in the history
…p ci] (#2475)

feat: Colour territory attack time if player is inside territory
  • Loading branch information
ShadowCat117 committed May 10, 2024
1 parent 371da1f commit 8908ae2
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,9 @@ public String asString() {
boolean isCurrentTerritory =
currentTerritory != null && currentTerritory.getName().equals(territoryName);

return ChatFormatting.GRAY.toString() + (isCurrentTerritory ? ChatFormatting.BOLD : "") + territoryName
+ defenseColor + " (" + defenseString + ")" + ChatFormatting.AQUA + " " + timerString();
return ChatFormatting.GRAY
+ (isCurrentTerritory ? ChatFormatting.DARK_PURPLE.toString() + ChatFormatting.BOLD : "")
+ territoryName + defenseColor + " (" + defenseString + ")" + ChatFormatting.AQUA + " " + timerString();
}

public int getMinutesRemaining() {
Expand Down

0 comments on commit 8908ae2

Please sign in to comment.