Fixing ArrayIndexOutOfBound errors when loading up the deck editor or using a deck.

This commit is contained in:
jendave
2011-08-06 17:46:40 +00:00
parent ea422cd13b
commit 2b7858b786
2 changed files with 2 additions and 2 deletions

View File

@@ -2325,7 +2325,7 @@ public class GameAction {
String setCode = "";
if (cardName.contains("|"))
{
String s[] = cardName.split("\\|");
String s[] = cardName.split("\\|",2);
cardName = s[0];
setCode = s[1];
}