Messed up the commit history, so here is all the files rip, Credit to TrinityCore
This commit is contained in:
@@ -354,7 +354,7 @@ namespace Game.BattleGrounds
|
||||
{
|
||||
Player player = Global.ObjAccessor.FindPlayer(guid);
|
||||
if (player != null)
|
||||
player.AtStartOfEncounter();
|
||||
player.AtStartOfEncounter(EncounterType.Battleground);
|
||||
}
|
||||
|
||||
// Remove preparation
|
||||
@@ -805,7 +805,7 @@ namespace Game.BattleGrounds
|
||||
player.RemoveAura(BattlegroundConst.SpellMercenaryShapeshift);
|
||||
player.RemovePlayerFlagEx(PlayerFlagsEx.MercenaryMode);
|
||||
|
||||
player.AtEndOfEncounter();
|
||||
player.AtEndOfEncounter(EncounterType.Battleground);
|
||||
|
||||
player.RemoveAurasWithInterruptFlags(SpellAuraInterruptFlags2.LeaveArenaOrBattleground);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user