diff --git a/src/main/kotlin/ru/dbotthepony/mc/otm/worldgen/placement/WormPlacement.kt b/src/main/kotlin/ru/dbotthepony/mc/otm/worldgen/placement/WormPlacement.kt index f11c8b8ef..e0dbcab4a 100644 --- a/src/main/kotlin/ru/dbotthepony/mc/otm/worldgen/placement/WormPlacement.kt +++ b/src/main/kotlin/ru/dbotthepony/mc/otm/worldgen/placement/WormPlacement.kt @@ -74,7 +74,7 @@ class WormPlacement( if (turnChanceXY.sample(random)) { // worm? xyTargetRotation += turnRateXY.sample(random) - xzTargetRotation = normalizeAngle(xzTargetRotation) + xyTargetRotation = normalizeAngle(xyTargetRotation) } if (xzTargetRotation != xzRotation) {