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

@ -27,7 +27,7 @@ public abstract class StaticAbility extends AbilityImpl {
@Override
public boolean isInUseableZone(Game game, MageObject source, GameEvent event) {
if (game.getShortLivingLKI(getSourceId(), zone)) {
if (game.checkShortLivingLKI(getSourceId(), zone)) {
return true; // maybe this can be a problem if effects removed the ability from the object
}
if (game.getPermanentEntering(getSourceId()) != null && zone == Zone.BATTLEFIELD) {