mirror of
https://github.com/correl/mage.git
synced 2025-01-13 03:00:10 +00:00
Removed double check of can block restriction.
This commit is contained in:
parent
5fb2afc5f3
commit
a70d91e4b4
1 changed files with 1 additions and 1 deletions
|
@ -1539,7 +1539,7 @@ public abstract class PlayerImpl<T extends PlayerImpl<T>> implements Player, Ser
|
|||
public void declareBlocker(UUID defenderId, UUID blockerId, UUID attackerId, Game game) {
|
||||
Permanent blocker = game.getPermanent(blockerId);
|
||||
CombatGroup group = game.getCombat().findGroup(attackerId);
|
||||
if (blocker != null && group != null && group.canBlock(blocker, game) && blocker.getControllerId().equals(defenderId)) {
|
||||
if (blocker != null && group != null && group.canBlock(blocker, game)) {
|
||||
group.addBlocker(blockerId, playerId, game);
|
||||
game.getCombat().addBlockingGroup(blockerId, attackerId, playerId, game);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue