Some refactoring of code. and some cleanups

This commit is contained in:
hondacrx
2019-09-21 12:11:16 -04:00
parent 7c405230cc
commit 35c06c09fd
214 changed files with 1235 additions and 1341 deletions
@@ -949,7 +949,7 @@ namespace Game.BattleFields
{
Player player = Global.ObjAccessor.FindPlayer(guid);
if (player)
if (player.getLevel() >= m_MinLevel)
if (player.GetLevel() >= m_MinLevel)
player.RemoveAurasDueToSpell(WGSpells.Tenacity);
}