mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-01-15 09:50:27 +00:00
trainer learn command
This commit is contained in:
@@ -38,7 +38,7 @@ bool UseItemAction::Execute(Event event)
|
||||
bool UseItemAction::UseGameObject(ObjectGuid guid)
|
||||
{
|
||||
GameObject* go = botAI->GetGameObject(guid);
|
||||
if (!go || !go->isSpawned() || go->GetGoState() != GO_STATE_READY)
|
||||
if (!go || !go->isSpawned()/* || go->GetGoState() != GO_STATE_READY*/)
|
||||
return false;
|
||||
|
||||
go->Use(bot);
|
||||
|
||||
Reference in New Issue
Block a user