Fixes fishing bobbers not being usable
This commit is contained in:
@@ -4655,7 +4655,10 @@ namespace Game.Spells
|
||||
{
|
||||
case GameObjectTypes.FishingNode:
|
||||
{
|
||||
m_caster.AddChannelObject(pGameObj.GetGUID());
|
||||
pGameObj.SetFaction(m_caster.getFaction());
|
||||
ObjectGuid bobberGuid = pGameObj.GetGUID();
|
||||
// client requires fishing bobber guid in channel object slot 0 to be usable
|
||||
m_caster.SetDynamicStructuredValue(UnitDynamicFields.ChannelObjects, 0, bobberGuid);
|
||||
m_caster.AddGameObject(pGameObj); // will removed at spell cancel
|
||||
|
||||
// end time of range when possible catch fish (FISHING_BOBBER_READY_TIME..GetDuration(m_spellInfo))
|
||||
|
||||
Reference in New Issue
Block a user