mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 12:18:00 +00:00
- Fix Null Pointer Error in AF_Pump for AI activating non-targeted Pump Abilities.
This commit is contained in:
@@ -136,7 +136,7 @@ public class AbilityFactory_Pump {
|
||||
|
||||
if(AllZone.Phase.getPhase().equals(Constant.Phase.Main2)) return false;
|
||||
|
||||
if(!AF.getAbTgt().doesTarget()) {
|
||||
if(AF.getAbTgt() == null || !AF.getAbTgt().doesTarget()) {
|
||||
Card creature;
|
||||
//if (bPumpEquipped)
|
||||
// creature = card.getEquippingCard();
|
||||
|
||||
Reference in New Issue
Block a user