Skip to content

Commit 0f54b2e

Browse files
authored
Machine output can be oriented vertically on placement (#1042)
1 parent ff286d0 commit 0f54b2e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/aztech/modern_industrialization/machines/components/OrientationComponent.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ public void onPlaced(@Nullable LivingEntity placer, ItemStack itemStack) {
103103
Direction dir = placer != null ? (params.canBeVertical ? placer.getNearestViewDirection() : placer.getDirection()) : Direction.NORTH;
104104
facingDirection = dir.getOpposite();
105105
if (params.hasOutput) {
106-
outputDirection = dir;
106+
outputDirection = placer != null ? placer.getNearestViewDirection() : Direction.NORTH;
107107
}
108108
}
109109

0 commit comments

Comments
 (0)