forked from External/mage
Refactor: Remove unused sourceID param from contains method
This commit is contained in:
parent
fdcc4e4458
commit
3192a191a4
9 changed files with 12 additions and 13 deletions
|
|
@ -64,7 +64,7 @@ class LandwalkEffect extends RestrictionEffect {
|
|||
|
||||
@Override
|
||||
public boolean canBeBlocked(Permanent attacker, Permanent blocker, Ability source, Game game, boolean canUseChooseDialogs) {
|
||||
if (game.getBattlefield().contains(filter, source.getSourceId(), blocker.getControllerId(), source, game, 1)
|
||||
if (game.getBattlefield().contains(filter, blocker.getControllerId(), source, game, 1)
|
||||
&& null == game.getContinuousEffects().asThough(blocker.getId(), AsThoughEffectType.BLOCK_LANDWALK, null, blocker.getControllerId(), game)) {
|
||||
switch (filter.getMessage()) {
|
||||
case "plains":
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue