Skip to content

Commit

Permalink
Fixed hypen still being green (#3639)
Browse files Browse the repository at this point in the history
  • Loading branch information
Suneet Tipirneni (Siris) authored and TheFlagCourier committed Jan 16, 2020
1 parent 56844e6 commit c7b9c66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/com/palmergames/bukkit/towny/TownyMessaging.java
Original file line number Diff line number Diff line change
Expand Up @@ -719,7 +719,7 @@ public static void sendSpigotConfirmMessage(CommandSender player, String firstli
// Use spigot to send the message.
player.spigot().sendMessage(new ComponentBuilder(firstline + "\n")
.append(confirmComponent).append(ChatColor.WHITE + " - " + String.format(TownySettings.getLangString("msg_confirmation_spigot_click_accept"), confirmline.replace('/', '[').replace("[",""), confirmline) + "\n")
.append(cancelComponent).append(" - " + ChatColor.WHITE + String.format(TownySettings.getLangString("msg_confirmation_spigot_click_cancel"), cancelline.replace('/', '['), cancelline).replace("[","") + "\n")
.append(cancelComponent).append(ChatColor.WHITE + " - " + String.format(TownySettings.getLangString("msg_confirmation_spigot_click_cancel"), cancelline.replace('/', '['), cancelline).replace("[","") + "\n")
.append(lastline)
.create());
}
Expand Down

0 comments on commit c7b9c66

Please sign in to comment.