From 08d678bdb8df8307676e465962c4d87e15905ef2 Mon Sep 17 00:00:00 2001 From: hide_d Date: Thu, 14 Oct 2021 00:37:08 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20CreateManyNPC=EC=97=90=EC=84=9C=20npcCou?= =?UTF-8?q?nt=EA=B0=80=200=EC=9D=B4=EB=A9=B4=20fillCnt=EA=B0=80=20?= =?UTF-8?q?=EB=AC=B4=EC=8B=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/sammo/Event/Action/CreateManyNPC.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hwe/sammo/Event/Action/CreateManyNPC.php b/hwe/sammo/Event/Action/CreateManyNPC.php index 87ec077c..ae6e2b48 100644 --- a/hwe/sammo/Event/Action/CreateManyNPC.php +++ b/hwe/sammo/Event/Action/CreateManyNPC.php @@ -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__, []]; }