mirror of
https://github.com/darksaid98/TownyChat.git
synced 2026-12-04 22:21:52 +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
+5
-2
No files matched your search
@@ -7,7 +7,7 @@
|
|||||||
<groupId>com.palmergames.bukkit</groupId>
|
<groupId>com.palmergames.bukkit</groupId>
|
||||||
<artifactId>TownyChat</artifactId>
|
<artifactId>TownyChat</artifactId>
|
||||||
<packaging>jar</packaging>
|
<packaging>jar</packaging>
|
||||||
<version>0.69</version>
|
<version>0.70</version>
|
||||||
|
|
||||||
<licenses>
|
<licenses>
|
||||||
<license>
|
<license>
|
||||||
|
|||||||
@@ -299,3 +299,6 @@ v0.68:
|
|||||||
- Updated comments to reflect change with toggling chats, courtesy of GenSecrets with PR #25.
|
- Updated comments to reflect change with toggling chats, courtesy of GenSecrets with PR #25.
|
||||||
v0.69:
|
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());
|
matcher.appendReplacement(sb, replacer.toString());
|
||||||
} else {
|
} else {
|
||||||
try {
|
try {
|
||||||
String replacement = ((ReplacerCallable<E>)replacer).call(match, e);
|
String replacement = Matcher.quoteReplacement(((ReplacerCallable<E>)replacer).call(match, e));
|
||||||
matcher.appendReplacement(sb, replacement);
|
matcher.appendReplacement(sb, replacement);
|
||||||
} catch (Exception exception) {
|
} catch (Exception exception) {
|
||||||
continue;
|
continue;
|
||||||
|
|||||||
Reference in new issue
Block a user