Core/Spells: Clean up some gameobject types in EffectOpenLock
Port From (https://github.com/TrinityCore/TrinityCore/commit/42de312a79b5ce3900d2231d89f5cd716c03ce01)
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user