mirror of
https://github.com/correl/mage.git
synced 2024-11-14 19:19:32 +00:00
Improved mtga import
Added ★ and /// to be replaced in CardNameUtil.java (#9855) Co-authored-by: sprangg <a@b.c>
This commit is contained in:
parent
63ab4a16c2
commit
4ce9f59e35
1 changed files with 3 additions and 1 deletions
|
@ -9,6 +9,7 @@ public class CardNameUtil {
|
|||
public static String normalizeCardName(String name) {
|
||||
return name
|
||||
.replace("&", "//")
|
||||
.replace("///", "//")
|
||||
.replace("Æ", "Ae")
|
||||
.replace("ö", "A")
|
||||
.replace("ö", "o")
|
||||
|
@ -19,7 +20,8 @@ public class CardNameUtil {
|
|||
.replace("à", "a")
|
||||
.replace("é", "e")
|
||||
.replace("ú", "u")
|
||||
.replace("†", "+");
|
||||
.replace("†", "+")
|
||||
.replace("★", "*");
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue