Skip to content
Snippets Groups Projects
Commit 351be4dd authored by Luks's avatar Luks
Browse files

DisciplesNecropolisPast fixed: multithread problem when you kill mobs at the same time

parent 35ba6e27
No related branches found
No related tags found
No related merge requests found
......@@ -150,6 +150,7 @@ public final class DisciplesNecropolisPast extends AbstractInstance
private synchronized void checkDoors(L2Npc npc, DNPWorld world)
{
world.countKill++;
switch (world.countKill)
{
case 4:
......@@ -380,7 +381,6 @@ public final class DisciplesNecropolisPast extends AbstractInstance
if (tmpworld instanceof DNPWorld)
{
final DNPWorld world = (DNPWorld) tmpworld;
world.countKill++;
checkDoors(npc, world);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment