mirror of
https://github.com/correl/mage.git
synced 2024-12-25 11:11:16 +00:00
[ZNR] small change to modes
This commit is contained in:
parent
6aaa398962
commit
73f9a82938
1 changed files with 8 additions and 3 deletions
|
@ -228,9 +228,14 @@ public class Modes extends LinkedHashMap<UUID, Mode> {
|
||||||
this.turnNum = game.getTurnNum();
|
this.turnNum = game.getTurnNum();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (this.allWhenKicked && KickedCondition.instance.apply(game, source)) {
|
if (this.allWhenKicked) {
|
||||||
|
if (KickedCondition.instance.apply(game, source)) {
|
||||||
this.setMinModes(0);
|
this.setMinModes(0);
|
||||||
this.setMaxModes(3);
|
this.setMaxModes(3);
|
||||||
|
} else {
|
||||||
|
this.setMinModes(1);
|
||||||
|
this.setMaxModes(1);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if (this.size() > 1) {
|
if (this.size() > 1) {
|
||||||
this.clearSelectedModes();
|
this.clearSelectedModes();
|
||||||
|
|
Loading…
Reference in a new issue