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