Core/GameObjects: Implemented AllowMultiInteract for GAMEOBJECT_TYPE_GOOBER

Port From (https://github.com/TrinityCore/TrinityCore/commit/f52f2cc67ad91fa9017f6739e0efdf9677c5d629)
This commit is contained in:
hondacrx
2022-10-22 22:32:25 -04:00
parent 66ad9f4ce0
commit d457828f3b
4 changed files with 49 additions and 18 deletions
+8
View File
@@ -4709,6 +4709,14 @@ namespace Game
continue;
}
case GameObjectTypes.GatheringNode:
{
// scan GO chest with loot including quest items
// find quest loot for GO
if (LootStorage.Gameobject.HaveQuestLootFor(pair.Value.GatheringNode.chestLoot))
break;
continue;
}
default:
continue;
}