mirror of
https://github.com/magefree/mage.git
synced 2025-12-21 19:11:59 -08:00
* Skip phase of preferences will only be applied if the stack is empty.
This commit is contained in:
parent
7ad45a2a6e
commit
0a23fe1e8a
1 changed files with 5 additions and 5 deletions
|
|
@ -444,12 +444,12 @@ public class HumanPlayer extends PlayerImpl {
|
|||
public boolean priority(Game game) {
|
||||
passed = false;
|
||||
if (!abort) {
|
||||
boolean dontCheckPassStep = false;
|
||||
if (passedAllTurns) {
|
||||
pass(game);
|
||||
return false;
|
||||
}
|
||||
if (game.getStack().isEmpty()) {
|
||||
boolean dontCheckPassStep = false;
|
||||
if (passedTurn) {
|
||||
pass(game);
|
||||
return false;
|
||||
|
|
@ -488,11 +488,11 @@ public class HumanPlayer extends PlayerImpl {
|
|||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (!dontCheckPassStep && checkPassStep(game)) {
|
||||
pass(game);
|
||||
return false;
|
||||
}
|
||||
}
|
||||
updateGameStatePriority("priority", game);
|
||||
game.firePriorityEvent(playerId);
|
||||
waitForResponse(game);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue