forked from External/mage
Refactored restore state code, added additional error check for mana undo param;
This commit is contained in:
parent
2eeefd91ef
commit
83f7ae377a
12 changed files with 64 additions and 40 deletions
|
|
@ -60,7 +60,7 @@ public class DoWhenCostPaid extends OneShotEffect {
|
|||
player.resetStoredBookmark(game);
|
||||
return true;
|
||||
}
|
||||
game.restoreState(bookmark, DoWhenCostPaid.class.getName());
|
||||
player.restoreState(bookmark, DoWhenCostPaid.class.getName(), game);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue