diff --git a/src/main/java/org/terasology/dynamicCities/construction/Construction.java b/src/main/java/org/terasology/dynamicCities/construction/Construction.java index 65a87ee..0b2c800 100644 --- a/src/main/java/org/terasology/dynamicCities/construction/Construction.java +++ b/src/main/java/org/terasology/dynamicCities/construction/Construction.java @@ -399,7 +399,7 @@ public boolean buildParcel(DynParcel dynParcel, EntityRef settlement, Culture cu List templates = templatesOptional.get(); for (EntityRef template : templates) { BlockRegionTransformationList transformationList = new BlockRegionTransformationList(); - transformationList.addTransformation(BlockRegionUtilities.setOnCenterXZ(template.getComponent(SpawnBlockRegionsComponent.class))); + transformationList.addTransformation(new BlockRegionMovement(BlockRegionUtilities.determineBottomCenter(template.getComponent(SpawnBlockRegionsComponent.class)))); transformationList.addTransformation(new HorizontalBlockRegionRotation(TeraMath.clamp(TeraMath.fastAbs(dynParcel.orientation.ordinal()), 0, 4))); transformationList.addTransformation(new BlockRegionMovement(new Vector3i(shape.minX() + Math.round(shape.sizeX() / 2f), dynParcel.height, shape.minY() + Math.round(shape.sizeY() / 2f))));