mirror of
https://github.com/correl/mage.git
synced 2024-11-15 19:19:33 +00:00
spjspj - Fix for if Combustible Gearhulk dies prior to trigger resolving KLD
This commit is contained in:
parent
120d7612f6
commit
a4195b2bb0
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…
Reference in a new issue