From 88b0b950e688b70643bc19578ade69f5dec0c520 Mon Sep 17 00:00:00 2001 From: Joey Peter Date: Sun, 18 Dec 2022 21:06:45 +0100 Subject: [PATCH] v2.9.2 --- pom.xml | 2 +- src/main/java/de/jeter/chatex/utils/Locales.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index 2021712..60839cf 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ ChatEx 2022 - 2.9.1 + 2.9.2 ChatManagement plugin for Bukkit https://www.spigotmc.org/resources/chatex-continued.71041/ diff --git a/src/main/java/de/jeter/chatex/utils/Locales.java b/src/main/java/de/jeter/chatex/utils/Locales.java index 62bf2c6..9dee157 100644 --- a/src/main/java/de/jeter/chatex/utils/Locales.java +++ b/src/main/java/de/jeter/chatex/utils/Locales.java @@ -113,7 +113,7 @@ public String getDefaultValue() { } public String getString(Player p) { - String ret = cfg.getString(path).replaceAll("&((?i)[0-9a-fk-or])", "ยง$1"); + String ret = Utils.replaceColors(cfg.getString(path)); ret = Utils.replacePlayerPlaceholders(p, ret); return ret; }