feat: fix warning

This commit is contained in:
Yunfan Li
2023-05-24 19:44:53 +08:00
parent c16e587854
commit 429dc03100
7 changed files with 11 additions and 11 deletions

View File

@@ -42,10 +42,10 @@ bool DrinkAction::Execute(Event event)
else
delay = 20000.0f * (100 - p) / 100.0f;
botAI->CastSpell(24707, bot);
botAI->SetNextCheckDelay(delay);
return true;
return botAI->CastSpell(24707, bot);
}
return UseItemAction::Execute(event);