diff --git a/BauSystem_Main/src/de/steamwar/bausystem/features/smartplace/behaviour/BlockPlaceBehaviour.java b/BauSystem_Main/src/de/steamwar/bausystem/features/smartplace/behaviour/BlockPlaceBehaviour.java index 97b93b94..bfe5accd 100644 --- a/BauSystem_Main/src/de/steamwar/bausystem/features/smartplace/behaviour/BlockPlaceBehaviour.java +++ b/BauSystem_Main/src/de/steamwar/bausystem/features/smartplace/behaviour/BlockPlaceBehaviour.java @@ -54,7 +54,7 @@ public class BlockPlaceBehaviour implements SmartPlaceBehaviour { smartPlaceResult = SmartPlaceResult.APPLIED; } else if (blockData instanceof Rotatable) { Rotatable rotatable = (Rotatable) blockData; - rotatable.setRotation(rotatable.getRotation()); + rotatable.setRotation(rotatable.getRotation().getOppositeFace()); smartPlaceResult = SmartPlaceResult.APPLIED; } block.setBlockData(blockData); diff --git a/BauSystem_Main/src/de/steamwar/bausystem/features/smartplace/behaviour/BlockRotatingBehaviour.java b/BauSystem_Main/src/de/steamwar/bausystem/features/smartplace/behaviour/BlockRotatingBehaviour.java index eed4df5a..fc266d0e 100644 --- a/BauSystem_Main/src/de/steamwar/bausystem/features/smartplace/behaviour/BlockRotatingBehaviour.java +++ b/BauSystem_Main/src/de/steamwar/bausystem/features/smartplace/behaviour/BlockRotatingBehaviour.java @@ -72,7 +72,11 @@ public class BlockRotatingBehaviour implements SmartPlaceBehaviour { directional.setFacing(blockFace); } } else if (blockData instanceof Rotatable) { - ((Rotatable) blockData).setRotation(blockFace); + try { + ((Rotatable) blockData).setRotation(blockFace); + } catch (Exception e) { + // Ignore + } } block.setBlockData(blockData); return SmartPlaceResult.APPLIED;