mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 11:48:02 +00:00
Modified the SVar keyword to split only 3 elements, to ensure web addresses can be stored.
This commit is contained in:
@@ -324,7 +324,7 @@ public class CardFactory implements NewConstants {
|
|||||||
String parse = card.getKeyword().get(n).toString();
|
String parse = card.getKeyword().get(n).toString();
|
||||||
card.removeIntrinsicKeyword(parse);
|
card.removeIntrinsicKeyword(parse);
|
||||||
|
|
||||||
String k[] = parse.split(":");
|
String k[] = parse.split(":", 3);
|
||||||
|
|
||||||
if(k.length > 2) card.setSVar(k[1], k[2]);
|
if(k.length > 2) card.setSVar(k[1], k[2]);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user