mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-07-02 16:07:06 +00:00
Fix WM
This commit is contained in:
parent
2c0576099a
commit
04c09efd75
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user