mirror of
https://github.com/magefree/mage.git
synced 2025-12-23 20:11:59 -08:00
Some combat fixes
This commit is contained in:
parent
865624eacd
commit
0512558c60
1 changed files with 6 additions and 1 deletions
|
|
@ -2353,7 +2353,12 @@ public abstract class PlayerImpl implements Player, Serializable {
|
|||
|
||||
@Override
|
||||
public void declareBlocker(UUID defenderId, UUID blockerId, UUID attackerId, Game game) {
|
||||
if (isHuman()) {
|
||||
declareBlocker(defenderId, blockerId, attackerId, game, true);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void declareBlocker(UUID defenderId, UUID blockerId, UUID attackerId, Game game, boolean allowUndo) {
|
||||
if (isHuman() && allowUndo) {
|
||||
setStoredBookmark(game.bookmarkState());
|
||||
}
|
||||
Permanent blocker = game.getPermanent(blockerId);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue