mirror of
https://github.com/correl/mage.git
synced 2024-12-24 11:50:45 +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();
|
||||
}
|
||||
}
|
||||
if (this.allWhenKicked && KickedCondition.instance.apply(game, source)) {
|
||||
this.setMinModes(0);
|
||||
this.setMaxModes(3);
|
||||
if (this.allWhenKicked) {
|
||||
if (KickedCondition.instance.apply(game, source)) {
|
||||
this.setMinModes(0);
|
||||
this.setMaxModes(3);
|
||||
} else {
|
||||
this.setMinModes(1);
|
||||
this.setMaxModes(1);
|
||||
}
|
||||
}
|
||||
if (this.size() > 1) {
|
||||
this.clearSelectedModes();
|
||||
|
|
Loading…
Reference in a new issue