랜임모드시 임관출력 버그 수정
This commit is contained in:
@@ -93,6 +93,10 @@ class che_임관 extends Command\GeneralCommand{
|
||||
}
|
||||
|
||||
$relYear = $env['year'] - $env['startyear'];
|
||||
|
||||
$this->reservableConstraints=[
|
||||
ConstraintHelper::ReqEnvValue('join_mode', '!=', 'onlyRandom', '랜덤 임관만 가능합니다')
|
||||
];
|
||||
|
||||
$this->runnableConstraints=[
|
||||
ConstraintHelper::ReqEnvValue('join_mode', '!=', 'onlyRandom', '랜덤 임관만 가능합니다'),
|
||||
@@ -103,6 +107,11 @@ class che_임관 extends Command\GeneralCommand{
|
||||
];
|
||||
}
|
||||
|
||||
public function canDisplay(): bool
|
||||
{
|
||||
return ($this->env['join_mode']??'') != 'onlyRandom';
|
||||
}
|
||||
|
||||
public function getCost():array{
|
||||
return [0, 0];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user