Core/Spells: Clean up some gameobject types in EffectOpenLock

Port From (https://github.com/TrinityCore/TrinityCore/commit/42de312a79b5ce3900d2231d89f5cd716c03ce01)
This commit is contained in:
hondacrx
2024-02-04 14:44:29 -05:00
parent a46f98642b
commit 5ccf33eabc
2 changed files with 9 additions and 10 deletions
@@ -2437,6 +2437,15 @@ namespace Game.Entities
Delete();
return;
}
case GameObjectTypes.CapturePoint:
{
Player player = user.ToPlayer();
if (player == null)
return;
AssaultCapturePoint(player);
return;
}
case GameObjectTypes.ItemForge:
{
GameObjectTemplate info = GetGoInfo();