mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-06-17 22:32:04 +00:00
Fix WM
This commit is contained in:
@@ -227,11 +227,6 @@ public class IrisWorldManager extends EngineAssignedWorldManager {
|
|||||||
.collect(Collectors.toList()))
|
.collect(Collectors.toList()))
|
||||||
.popRandom(RNG.r);
|
.popRandom(RNG.r);
|
||||||
|
|
||||||
if(initial)
|
|
||||||
{
|
|
||||||
Iris.info("SPAWNER PICKED: " + v);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (v != null && v.getReferenceSpawner() != null) {
|
if (v != null && v.getReferenceSpawner() != null) {
|
||||||
int maxEntCount = v.getReferenceSpawner().getMaxEntitiesPerChunk();
|
int maxEntCount = v.getReferenceSpawner().getMaxEntitiesPerChunk();
|
||||||
|
|
||||||
@@ -293,7 +288,7 @@ public class IrisWorldManager extends EngineAssignedWorldManager {
|
|||||||
i.setReferenceSpawner(s);
|
i.setReferenceSpawner(s);
|
||||||
}
|
}
|
||||||
|
|
||||||
return s.getSpawns().stream();
|
return (initial ? s.getInitialSpawns() : s.getSpawns()).stream();
|
||||||
}
|
}
|
||||||
|
|
||||||
private KList<IrisEntitySpawn> spawnRandomly(List<IrisEntitySpawn> types) {
|
private KList<IrisEntitySpawn> spawnRandomly(List<IrisEntitySpawn> types) {
|
||||||
|
|||||||
Reference in New Issue
Block a user