- Fixed a bug in setTargetList().

This commit is contained in:
jendave
2011-08-06 09:08:38 +00:00
parent 014a527bd1
commit 0830398cbf

View File

@@ -324,7 +324,9 @@ public abstract class SpellAbility {
}
public void setTargetList(CardList list) {
targetPlayer = null;//reset setTargetPlayer()
// The line below started to create a null error at forge.CardFactoryUtil.canTarget(CardFactoryUtil.java:3329)
// after ForgeSVN r2699. I hope that commenting out the line below will not result in other bugs. :)
// targetPlayer = null;//reset setTargetPlayer()
targetList = list;
StringBuilder sb = new StringBuilder();