- Fixed the isEmpty() bug (for Java 1.5 users)

This commit is contained in:
jendave
2011-08-06 03:22:02 +00:00
parent 165a44e7f5
commit f674a983d3

View File

@@ -978,7 +978,8 @@ public class CardFactory implements NewConstants {
sbD.append(Math.abs(NumDefense[0]) + " and gains " + Keyword[0] + " until end of turn.");
}
if (!sbD.toString().isEmpty())
//if (!sbD.toString().isEmpty())
if (!sbD.toString().trim().equals(""))
d = sbD.toString();
if (k.length > 2)