mirror of
https://github.com/liyunfan1223/mod-playerbots.git
synced 2026-02-20 18:10:02 +01:00
Correct UseMeetingStoneAction to only apply on meeting stone portals
This commit is contained in:
parent
8f92fbade3
commit
50200584d1
@ -48,8 +48,8 @@ bool UseMeetingStoneAction::Execute(Event event)
|
||||
return false;
|
||||
|
||||
GameObjectTemplate const* goInfo = gameObject->GetGOInfo();
|
||||
if (!goInfo || goInfo->type != GAMEOBJECT_TYPE_SUMMONING_RITUAL)
|
||||
return false;
|
||||
if (!goInfo || goInfo->entry != 179944)
|
||||
return false;
|
||||
|
||||
return Teleport(master, bot);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user