OnCreatureSee for non attackables is triggered at World.
This commit is contained in:
@ -1075,7 +1075,8 @@ public class Npc extends Creature
|
||||
setClanId(getCastle().getOwnerId());
|
||||
}
|
||||
|
||||
if (CREATURE_SEE_IDS.contains(getId()))
|
||||
if (isAttackable() // OnCreatureSee for non attackables is triggered at World.
|
||||
&& CREATURE_SEE_IDS.contains(getId()))
|
||||
{
|
||||
initSeenCreatures();
|
||||
}
|
||||
|
Reference in New Issue
Block a user