mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 10:48:00 +00:00
Fix NPE (#2351)
This commit is contained in:
@@ -626,7 +626,9 @@ public class StaticAbility extends CardTraitBase implements IIdentifiable, Clone
|
|||||||
@Override
|
@Override
|
||||||
public void setHostCard(Card host) {
|
public void setHostCard(Card host) {
|
||||||
super.setHostCard(host);
|
super.setHostCard(host);
|
||||||
payingTrigSA.setHostCard(host);
|
if (payingTrigSA != null) {
|
||||||
|
payingTrigSA.setHostCard(host);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public StaticAbility copy(Card host, final boolean lki) {
|
public StaticAbility copy(Card host, final boolean lki) {
|
||||||
|
|||||||
Reference in New Issue
Block a user