[Help] Players attacking town NPCs L2J 

Experienced Elementalist
Joined
May 11, 2006
Messages
218
Reaction score
0
Hi I use L2jfree and players can attack NPCs in town. How can I fix this? I never had this problem before.. Any help would be appreciated.
 
Its not a bug. In Hellbound u can attack the NPC-s in towns. U can disable this option in the java core:

I use normal L2J, and i found the file in here:
C:\Workspace\L2_GameServer\java\net\sf\l2j\gameserver\model\actor\instance\L2NpcInstace.java


Seach this section in the file:

@Override
public boolean isAttackable()
{
return true;
}



If u want disable that, use this:

@Override
public boolean isAttackable()
{
return false;
}
 
Upvote 0
Back