Fixed an array out of bounds error at line 2787.

This commit is contained in:
jendave
2011-08-06 03:24:04 +00:00
parent 04a37ac5c7
commit 37bd16e366

View File

@@ -2783,7 +2783,7 @@ public class CardFactoryUtil
String d[] = DB.split("/");
int X = 0;
if (d.length > 0)
if (d.length > 1)
if (d[1].matches("dX")) // 2/10
{
String dX = Src.getSVar(d[1]);