mirror of
https://github.com/mod-playerbots/mod-playerbots
synced 2025-11-29 15:58:20 +08:00
Correct UseMeetingStoneAction to only apply on meeting stone portals
This commit is contained in:
@@ -48,8 +48,8 @@ bool UseMeetingStoneAction::Execute(Event event)
|
|||||||
return false;
|
return false;
|
||||||
|
|
||||||
GameObjectTemplate const* goInfo = gameObject->GetGOInfo();
|
GameObjectTemplate const* goInfo = gameObject->GetGOInfo();
|
||||||
if (!goInfo || goInfo->type != GAMEOBJECT_TYPE_SUMMONING_RITUAL)
|
if (!goInfo || goInfo->entry != 179944)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
return Teleport(master, bot);
|
return Teleport(master, bot);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user