Core/ScriptMgr: Add OnBindToInstance Player hook
--HG-- branch : trunk
This commit is contained in:
@@ -17595,6 +17595,7 @@ InstancePlayerBind* Player::BindToInstance(InstanceSave *save, bool permanent, b
|
||||
bind.perm = permanent;
|
||||
if (!load)
|
||||
sLog.outDebug("Player::BindToInstance: %s(%d) is now bound to map %d, instance %d, difficulty %d", GetName(), GetGUIDLow(), save->GetMapId(), save->GetInstanceId(), save->GetDifficulty());
|
||||
sScriptMgr->OnPlayerBindToInstance(this, save->GetDifficulty(), save->GetMapId(), permanent);
|
||||
return &bind;
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user