mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 20:28:00 +00:00
- Fixed a bug in setTargetList().
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user