Proper updating for ZoneManager.

This commit is contained in:
MobiusDev
2018-04-09 15:44:59 +00:00
parent b1fc2fa47d
commit 5fd99e5454
15 changed files with 63 additions and 340 deletions

View File

@@ -395,10 +395,10 @@ public class HallOfSufferingAttack extends AbstractNpcAI
// Notify L2Character AI
boss.getAI().notifyEvent(CtrlEvent.EVT_DEAD);
if (boss.getWorldRegion() != null)
{
boss.getWorldRegion().onDeath(boss);
}
// if (boss.getWorldRegion() != null)
// {
// boss.getWorldRegion().onDeath(boss);
// }
}
@Override

View File

@@ -395,10 +395,10 @@ public class HallOfSufferingDefence extends AbstractNpcAI
// Notify L2Character AI
boss.getAI().notifyEvent(CtrlEvent.EVT_DEAD);
if (boss.getWorldRegion() != null)
{
boss.getWorldRegion().onDeath(boss);
}
// if (boss.getWorldRegion() != null)
// {
// boss.getWorldRegion().onDeath(boss);
// }
}
@Override