mirror of
https://github.com/correl/mage.git
synced 2025-01-13 11:01:58 +00:00
Additional to #6937
This commit is contained in:
parent
bb148c9cb5
commit
2a7ac3fc9e
1 changed files with 1 additions and 0 deletions
|
@ -1334,6 +1334,7 @@ public abstract class PlayerImpl implements Player, Serializable {
|
|||
if (!game.replaceEvent(GameEvent.getEvent(GameEvent.EventType.ACTIVATE_ABILITY,
|
||||
ability.getId(), ability.getSourceId(), playerId))) {
|
||||
int bookmark = game.bookmarkState();
|
||||
setStoredBookmark(bookmark); // move global bookmark to current state (if you activated mana before then you can't rollback it)
|
||||
ability.newId();
|
||||
ability.setControllerId(playerId);
|
||||
game.getStack().push(new StackAbility(ability, playerId));
|
||||
|
|
Loading…
Reference in a new issue