Replaced instanceof L2NpcInstance with isNpc method.
This commit is contained in:
@@ -40,7 +40,7 @@ public class SkillList implements IBypassHandler
|
||||
@Override
|
||||
public boolean useBypass(String command, L2PcInstance activeChar, L2Character target)
|
||||
{
|
||||
if (!(target instanceof L2NpcInstance))
|
||||
if ((target == null) || !target.isNpc())
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
Reference in New Issue
Block a user