forked from External/mage
Added optional server config parameter to limit the number of AI players when creating tournaments.
This commit is contained in:
parent
f04df1b193
commit
360a62917b
6 changed files with 55 additions and 14 deletions
|
|
@ -78,8 +78,9 @@ public class PlayerFactory {
|
|||
}
|
||||
|
||||
public void addPlayerType(String name, Class playerType) {
|
||||
if (playerType != null)
|
||||
if (playerType != null) {
|
||||
this.playerTypes.put(name, playerType);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue