mirror of
https://github.com/correl/mage.git
synced 2024-12-26 03:00:11 +00:00
Added default value for priority time.
This commit is contained in:
parent
738efcc47f
commit
0ab055c0f8
1 changed files with 3 additions and 0 deletions
|
@ -125,6 +125,9 @@ public class MatchOptions implements Serializable {
|
|||
}
|
||||
|
||||
public int getPriorityTime() {
|
||||
if (matchTimeLimit == null) {
|
||||
return MatchTimeLimit.NONE.getTimeLimit();
|
||||
}
|
||||
return matchTimeLimit.getTimeLimit();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue