From 1065079be62f0483915f4826c20318f76b250028 Mon Sep 17 00:00:00 2001 From: cyberpwn Date: Wed, 8 Sep 2021 08:40:48 -0400 Subject: [PATCH] Fix spawn radius issues --- .../engine/mantle/components/MantleJigsawComponent.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/main/java/com/volmit/iris/engine/mantle/components/MantleJigsawComponent.java b/src/main/java/com/volmit/iris/engine/mantle/components/MantleJigsawComponent.java index 44675c836..fcf206a31 100644 --- a/src/main/java/com/volmit/iris/engine/mantle/components/MantleJigsawComponent.java +++ b/src/main/java/com/volmit/iris/engine/mantle/components/MantleJigsawComponent.java @@ -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);