- Fixed NPE caused by Deepcavern Imp.

This commit is contained in:
Sloth
2013-04-24 18:37:25 +00:00
parent 1c9a2da3a6
commit 3e18c042cb

View File

@@ -589,7 +589,9 @@ public final class GameActionUtil {
for(Card c : inp.getSelected()) {
cpl.executePayment(sourceAbility, c);
}
cpl.reportPaidCardsTo(sourceAbility);
if (sourceAbility != null) {
cpl.reportPaidCardsTo(sourceAbility);
}
return true;
}