mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 03:08:02 +00:00
- Fixed possible NPE in combatTriggerWillTrigger.
This commit is contained in:
@@ -586,6 +586,9 @@ public class ComputerUtilCombat {
|
||||
final Card source = trigger.getHostCard();
|
||||
if (combat == null) {
|
||||
combat = game.getCombat();
|
||||
if (combat == null) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
if (!trigger.zonesCheck(game.getZoneOf(trigger.getHostCard()))) {
|
||||
|
||||
Reference in New Issue
Block a user