fix: CreateManyNPC에서 npcCount가 0이면 fillCnt가 무시
This commit is contained in:
@@ -46,7 +46,7 @@ class CreateManyNPC extends \sammo\Event\Action{
|
|||||||
|
|
||||||
|
|
||||||
public function run(array $env){
|
public function run(array $env){
|
||||||
if($this->npcCount <= 0){
|
if($this->npcCount <= 0 && $this->fillCnt <= 0){
|
||||||
return [__CLASS__, []];
|
return [__CLASS__, []];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user