mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-01-13 09:07:19 +00:00
feat: fix warning
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user