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

This commit is contained in:
jendave
2011-08-06 17:46:46 +00:00
parent 2b7858b786
commit 88ad902fd3

View File

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