Removed Champion aura check from npcInfo.

This commit is contained in:
MobiusDev 2015-05-09 15:51:13 +00:00
parent 50f5ab0751
commit df1731008d
2 changed files with 2 additions and 2 deletions

View File

@ -1708,7 +1708,7 @@ public class L2Attackable extends L2Npc
public void setChampion(boolean champ)
{
_champion = champ;
if (champ)
if (champ && Config.L2JMOD_SHOW_CHAMPION_AURA)
{
setTeam(Team.RED);
}

View File

@ -89,7 +89,7 @@ public class NpcInfo extends AbstractMaskPacket<NpcInfoType>
addComponentType(NpcInfoType.EQUIPPED);
}
if ((npc.getTeam() != Team.NONE) || (Config.L2JMOD_SHOW_CHAMPION_AURA && npc.isChampion()))
if (npc.getTeam() != Team.NONE)
{
addComponentType(NpcInfoType.TEAM);
}