mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 04:08:01 +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(AllZone.Phase.getPhase().equals(Constant.Phase.Main2)) return false;
|
||||||
|
|
||||||
if(!AF.getAbTgt().doesTarget()) {
|
if(AF.getAbTgt() == null || !AF.getAbTgt().doesTarget()) {
|
||||||
Card creature;
|
Card creature;
|
||||||
//if (bPumpEquipped)
|
//if (bPumpEquipped)
|
||||||
// creature = card.getEquippingCard();
|
// creature = card.getEquippingCard();
|
||||||
|
|||||||
Reference in New Issue
Block a user