mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 03:38:01 +00:00
Prevent trimming spaces
This commit is contained in:
@@ -438,7 +438,6 @@ public class CardStorageReader {
|
|||||||
if (idx != -1) {
|
if (idx != -1) {
|
||||||
s = s.substring(idx + 1);
|
s = s.substring(idx + 1);
|
||||||
}
|
}
|
||||||
s = s.trim();
|
|
||||||
if (s.isEmpty()) { continue; }
|
if (s.isEmpty()) { continue; }
|
||||||
try {
|
try {
|
||||||
String pattern = s.replaceAll("\\{([WUBRGSXYZ]|[0-9]+)\\}", "$1[ ]\\?").replaceAll("\\{C\\}", "Chaos");
|
String pattern = s.replaceAll("\\{([WUBRGSXYZ]|[0-9]+)\\}", "$1[ ]\\?").replaceAll("\\{C\\}", "Chaos");
|
||||||
|
|||||||
Reference in New Issue
Block a user