Core/Battlegrounds: Remove legacy battleground exit areatriggers
Port From (https://github.com/TrinityCore/TrinityCore/commit/641110e5543e53318d39054fb423858a96064a34)
This commit is contained in:
@@ -241,17 +241,7 @@ namespace Game.BattleGrounds.Zones
|
|||||||
TeleportPlayerToExploitLocation(player);
|
TeleportPlayerToExploitLocation(player);
|
||||||
break;
|
break;
|
||||||
case 3948: // Arathi Basin Alliance Exit.
|
case 3948: // Arathi Basin Alliance Exit.
|
||||||
if (player.GetTeam() != Team.Alliance)
|
|
||||||
player.GetSession().SendNotification("Only The Alliance can use that portal");
|
|
||||||
else
|
|
||||||
player.LeaveBattleground();
|
|
||||||
break;
|
|
||||||
case 3949: // Arathi Basin Horde Exit.
|
case 3949: // Arathi Basin Horde Exit.
|
||||||
if (player.GetTeam() != Team.Horde)
|
|
||||||
player.GetSession().SendNotification("Only The Horde can use that portal");
|
|
||||||
else
|
|
||||||
player.LeaveBattleground();
|
|
||||||
break;
|
|
||||||
case 3866: // Stables
|
case 3866: // Stables
|
||||||
case 3869: // Gold Mine
|
case 3869: // Gold Mine
|
||||||
case 3867: // Farm
|
case 3867: // Farm
|
||||||
@@ -260,7 +250,6 @@ namespace Game.BattleGrounds.Zones
|
|||||||
case 4020: // Unk1
|
case 4020: // Unk1
|
||||||
case 4021: // Unk2
|
case 4021: // Unk2
|
||||||
case 4674: // Unk3
|
case 4674: // Unk3
|
||||||
//break;
|
|
||||||
default:
|
default:
|
||||||
base.HandleAreaTrigger(player, trigger, entered);
|
base.HandleAreaTrigger(player, trigger, entered);
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user