Spawn once Altar of Shilen groups.

This commit is contained in:
MobiusDevelopment
2020-03-31 09:00:58 +00:00
parent bfb0b42e9d
commit 51e53be08f
16 changed files with 88 additions and 24 deletions

View File

@@ -220,8 +220,12 @@ public class AltarOfShilen extends AbstractInstance
{
p.teleToLocation(SECOND_FLOOR, world.getTemplateId());
}
world.spawnGroup("second_floor");
});
if (!world.getParameters().getBoolean("second_floor_spawned", false))
{
world.setParameter("second_floor_spawned", true);
world.spawnGroup("second_floor");
}
}
break;
}
@@ -235,8 +239,12 @@ public class AltarOfShilen extends AbstractInstance
{
p.teleToLocation(THIRD_FLOOR, world.getTemplateId());
}
world.spawnGroup("thrid_floor");
});
if (!world.getParameters().getBoolean("third_floor_spawned", false))
{
world.setParameter("third_floor_spawned", true);
world.spawnGroup("third_floor");
}
}
break;
}