mirror of
https://github.com/darksaid98/TownyChat.git
synced 2026-12-02 14:38:57 +00:00
v0.70:
- Allow for $ and \ to be used in the chat line.
- Closes: https://github.com/TownyAdvanced/Towny/issues/3960
This commit is contained in:
1 parent
4a9c7a52ad
commit
5ef8fd21e9
3 files changed
+6
-3
No files matched your search
@@ -7,7 +7,7 @@
|
||||
<groupId>com.palmergames.bukkit</groupId>
|
||||
<artifactId>TownyChat</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<version>0.69</version>
|
||||
<version>0.70</version>
|
||||
|
||||
<licenses>
|
||||
<license>
|
||||
|
||||
@@ -298,4 +298,7 @@ v0.67:
|
||||
v0.68:
|
||||
- Updated comments to reflect change with toggling chats, courtesy of GenSecrets with PR #25.
|
||||
v0.69:
|
||||
- Fix missing spaces from {title} & {surname} & {townypostfix}.
|
||||
- Fix missing spaces from {title} & {surname} & {townypostfix}.
|
||||
v0.70:
|
||||
- Allow for $ and \ to be used in the chat line.
|
||||
- Closes: https://github.com/TownyAdvanced/Towny/issues/3960
|
||||
@@ -46,7 +46,7 @@ public class StringReplaceManager<E> {
|
||||
matcher.appendReplacement(sb, replacer.toString());
|
||||
} else {
|
||||
try {
|
||||
String replacement = ((ReplacerCallable<E>)replacer).call(match, e);
|
||||
String replacement = Matcher.quoteReplacement(((ReplacerCallable<E>)replacer).call(match, e));
|
||||
matcher.appendReplacement(sb, replacement);
|
||||
} catch (Exception exception) {
|
||||
continue;
|
||||
|
||||
Reference in new issue
Block a user