diff --git a/gradle.properties b/gradle.properties index c539666ff9..e9f36fec36 100644 --- a/gradle.properties +++ b/gradle.properties @@ -9,7 +9,7 @@ author = masa mod_file_name = litematica-fabric # Current mod version -mod_version = 0.18.999-sakura.12 +mod_version = 0.18.999-sakura.13 # Required malilib version malilib_version = 0.19.999-sakura.6 diff --git a/src/main/java/fi/dy/masa/litematica/util/SchematicPlacingUtils.java b/src/main/java/fi/dy/masa/litematica/util/SchematicPlacingUtils.java index 5d68d811b9..8d673b30dd 100644 --- a/src/main/java/fi/dy/masa/litematica/util/SchematicPlacingUtils.java +++ b/src/main/java/fi/dy/masa/litematica/util/SchematicPlacingUtils.java @@ -443,14 +443,14 @@ public static void placeEntitiesToWorldWithinChunk(World world, ChunkPos chunkPo { Direction right = paintingEntity.getHorizontalFacing().rotateYCounterclockwise(); - if ((paintingEntity.getVariant().value().width() % 32) == 0 && + if ((paintingEntity.getVariant().value().width() % 2) == 0 && right.getDirection() == AxisDirection.POSITIVE) { x -= 1.0 * right.getOffsetX(); z -= 1.0 * right.getOffsetZ(); } - if ((paintingEntity.getVariant().value().height() % 32) == 0) + if ((paintingEntity.getVariant().value().height() % 2) == 0) { y -= 1.0; }