mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-07-18 10:12:53 +00:00
Fix spawn radius issues
This commit is contained in:
parent
e426172b18
commit
1065079be6
@ -18,6 +18,7 @@
|
||||
|
||||
package com.volmit.iris.engine.mantle.components;
|
||||
|
||||
import com.volmit.iris.Iris;
|
||||
import com.volmit.iris.engine.jigsaw.PlannedStructure;
|
||||
import com.volmit.iris.engine.mantle.EngineMantle;
|
||||
import com.volmit.iris.engine.mantle.IrisMantleComponent;
|
||||
@ -110,6 +111,11 @@ public class MantleJigsawComponent extends IrisMantleComponent {
|
||||
}
|
||||
writer.setData(position.getX(), 0, position.getZ(),
|
||||
new IrisFeaturePositional(position.getX(), position.getZ(), structure.getFeature()));
|
||||
|
||||
if(structure.getFeature().getEntitySpawners().isNotEmpty())
|
||||
{
|
||||
Iris.info("Placed Structure MAIN SPAWN " + structure.getFeature().getEntitySpawners().get(0) + " @R " + structure.getFeature().getBlockRadius());
|
||||
}
|
||||
}
|
||||
|
||||
new PlannedStructure(structure, position, rng).place(writer, getMantle(), post);
|
||||
|
Loading…
x
Reference in New Issue
Block a user