mirror of
https://github.com/magefree/mage.git
synced 2025-12-22 03:22:00 -08:00
Merge pull request #2335 from spjspj/master
spjspj - Fix for if Combustible Gearhulk dies prior to trigger resolv…
This commit is contained in:
commit
0a8bb10068
1 changed files with 1 additions and 1 deletions
|
|
@ -99,7 +99,7 @@ class CombustibleGearhulkEffect extends OneShotEffect {
|
|||
@Override
|
||||
public boolean apply(Game game, Ability source) {
|
||||
Player controller = game.getPlayer(source.getControllerId());
|
||||
Permanent sourcePermanent = game.getPermanent(source.getSourceId());
|
||||
Permanent sourcePermanent = game.getPermanentOrLKIBattlefield(source.getSourceId());
|
||||
if (controller != null && sourcePermanent != null) {
|
||||
UUID opponentId;
|
||||
if (game.getOpponents(controller.getId()).size() == 1) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue