mirror of
https://github.com/NLthijs48/AreaShop.git
synced 2024-11-25 19:56:26 +01:00
Parse currency prefix and suffix with InteractiveMessenger
- Allows proper colors and escaping
This commit is contained in:
parent
51161fffee
commit
3be7573863
@ -564,7 +564,10 @@ public class Utils {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
result = result.replace(".", config.getString("decimalMark"));
|
result = result.replace(".", config.getString("decimalMark"));
|
||||||
return before + result + after;
|
Message resultMessage = Message.fromString(result);
|
||||||
|
resultMessage.prepend(before);
|
||||||
|
resultMessage.append(after);
|
||||||
|
return resultMessage.getSingle();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user