refactor: improve method name - checkShortLivingLKI

This commit is contained in:
xenohedron 2024-06-09 22:10:32 -04:00
parent aeaeccb63b
commit 0d4acf26e5
11 changed files with 14 additions and 11 deletions

View file

@ -54,7 +54,7 @@ public class ExploitCreatureTriggeredAbility extends TriggeredAbilityImpl {
if (game.getState().getZone(getSourceId()) == Zone.BATTLEFIELD) {
sourcePermanent = game.getPermanent(getSourceId());
} else {
if (game.getShortLivingLKI(getSourceId(), Zone.BATTLEFIELD)) {
if (game.checkShortLivingLKI(getSourceId(), Zone.BATTLEFIELD)) {
sourcePermanent = (Permanent) game.getLastKnownInformation(getSourceId(), Zone.BATTLEFIELD);
}
}