forked from External/mage
Fixed Phase stops (skipped possibility to response to spells and abilities if phase was off)
This commit is contained in:
parent
b9eba43ccf
commit
9b72097827
3 changed files with 26 additions and 0 deletions
|
|
@ -62,6 +62,9 @@ public class PhaseManager {
|
|||
}
|
||||
|
||||
public boolean isSkip(GameView gameView, String message) {
|
||||
if (GameManager.getInstance().getStackSize() > 0) {
|
||||
return false;
|
||||
}
|
||||
Map<String, String> map = gameView.getActivePlayerName().equals(DEFAULT_PLAYER_NAME) ? mapYou : mapOthers;
|
||||
for (Map.Entry<String, String> entry : map.entrySet()) {
|
||||
if (message.equals(entry.getKey())) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue