This commit is contained in:
cyberpwn 2021-08-18 03:54:08 -04:00
parent 2c0576099a
commit 04c09efd75

View File

@ -227,11 +227,6 @@ public class IrisWorldManager extends EngineAssignedWorldManager {
.collect(Collectors.toList()))
.popRandom(RNG.r);
if(initial)
{
Iris.info("SPAWNER PICKED: " + v);
}
if (v != null && v.getReferenceSpawner() != null) {
int maxEntCount = v.getReferenceSpawner().getMaxEntitiesPerChunk();
@ -293,7 +288,7 @@ public class IrisWorldManager extends EngineAssignedWorldManager {
i.setReferenceSpawner(s);
}
return s.getSpawns().stream();
return (initial ? s.getInitialSpawns() : s.getSpawns()).stream();
}
private KList<IrisEntitySpawn> spawnRandomly(List<IrisEntitySpawn> types) {