Do not use character super to get player invul status.
This commit is contained in:
parent
a05027021a
commit
c47ca71364
@ -933,7 +933,7 @@ public class L2Attackable extends L2Npc
|
||||
if (ai.getAttacker() instanceof L2PcInstance)
|
||||
{
|
||||
final L2PcInstance act = (L2PcInstance) ai.getAttacker();
|
||||
if (act.isInvisible() || ai.getAttacker().isInvul() || act.isSpawnProtected())
|
||||
if (act.isInvisible() || act.isInvul() || act.isSpawnProtected())
|
||||
{
|
||||
// Remove Object Should Use This Method and Can be Blocked While Interacting
|
||||
getAggroList().remove(target);
|
||||
|
@ -929,7 +929,7 @@ public class L2Attackable extends L2Npc
|
||||
if (ai.getAttacker() instanceof L2PcInstance)
|
||||
{
|
||||
final L2PcInstance act = (L2PcInstance) ai.getAttacker();
|
||||
if (act.isInvisible() || ai.getAttacker().isInvul() || act.isSpawnProtected())
|
||||
if (act.isInvisible() || act.isInvul() || act.isSpawnProtected())
|
||||
{
|
||||
// Remove Object Should Use This Method and Can be Blocked While Interacting
|
||||
getAggroList().remove(target);
|
||||
|
@ -929,7 +929,7 @@ public class L2Attackable extends L2Npc
|
||||
if (ai.getAttacker() instanceof L2PcInstance)
|
||||
{
|
||||
final L2PcInstance act = (L2PcInstance) ai.getAttacker();
|
||||
if (act.isInvisible() || ai.getAttacker().isInvul() || act.isSpawnProtected())
|
||||
if (act.isInvisible() || act.isInvul() || act.isSpawnProtected())
|
||||
{
|
||||
// Remove Object Should Use This Method and Can be Blocked While Interacting
|
||||
getAggroList().remove(target);
|
||||
|
@ -929,7 +929,7 @@ public class L2Attackable extends L2Npc
|
||||
if (ai.getAttacker() instanceof L2PcInstance)
|
||||
{
|
||||
final L2PcInstance act = (L2PcInstance) ai.getAttacker();
|
||||
if (act.isInvisible() || ai.getAttacker().isInvul() || act.isSpawnProtected())
|
||||
if (act.isInvisible() || act.isInvul() || act.isSpawnProtected())
|
||||
{
|
||||
// Remove Object Should Use This Method and Can be Blocked While Interacting
|
||||
getAggroList().remove(target);
|
||||
|
@ -893,7 +893,7 @@ public class L2Attackable extends L2Npc
|
||||
if (ai.getAttacker() instanceof L2PcInstance)
|
||||
{
|
||||
final L2PcInstance act = (L2PcInstance) ai.getAttacker();
|
||||
if (act.isInvisible() || ai.getAttacker().isInvul() || act.isSpawnProtected())
|
||||
if (act.isInvisible() || act.isInvul() || act.isSpawnProtected())
|
||||
{
|
||||
// Remove Object Should Use This Method and Can be Blocked While Interacting
|
||||
_aggroList.remove(target);
|
||||
|
@ -929,7 +929,7 @@ public class L2Attackable extends L2Npc
|
||||
if (ai.getAttacker() instanceof L2PcInstance)
|
||||
{
|
||||
final L2PcInstance act = (L2PcInstance) ai.getAttacker();
|
||||
if (act.isInvisible() || ai.getAttacker().isInvul() || act.isSpawnProtected())
|
||||
if (act.isInvisible() || act.isInvul() || act.isSpawnProtected())
|
||||
{
|
||||
// Remove Object Should Use This Method and Can be Blocked While Interacting
|
||||
getAggroList().remove(target);
|
||||
|
@ -929,7 +929,7 @@ public class L2Attackable extends L2Npc
|
||||
if (ai.getAttacker() instanceof L2PcInstance)
|
||||
{
|
||||
final L2PcInstance act = (L2PcInstance) ai.getAttacker();
|
||||
if (act.isInvisible() || ai.getAttacker().isInvul() || act.isSpawnProtected())
|
||||
if (act.isInvisible() || act.isInvul() || act.isSpawnProtected())
|
||||
{
|
||||
// Remove Object Should Use This Method and Can be Blocked While Interacting
|
||||
getAggroList().remove(target);
|
||||
|
Loading…
Reference in New Issue
Block a user