Skip to content

Commit bf67107

Browse files
jkieberkinggustovafingscreretjurrejelle
authored
Fix multiblock controller rotation overlay logic (#4199)
Co-authored-by: Gustavo <77560533+gustovafing@users.noreply.github.com> Co-authored-by: screret <68943070+screret@users.noreply.github.com> Co-authored-by: jurrejelle <jurre@jilles.com>
1 parent ef00786 commit bf67107

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/com/gregtechceu/gtceu/api/machine/MetaMachine.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -534,8 +534,8 @@ public boolean shouldRenderGrid(Player player, BlockPos pos, BlockState state, I
534534
}
535535

536536
if (toolTypes.contains(GTToolType.WRENCH)) {
537-
if (player.isShiftKeyDown()) {
538-
if (isFacingValid(side)) {
537+
if (!player.isShiftKeyDown()) {
538+
if (isFacingValid(side) || (allowExtendedFacing() && hasFrontFacing() && side == getFrontFacing())) {
539539
return GuiTextures.TOOL_FRONT_FACING_ROTATION;
540540
}
541541
}

0 commit comments

Comments
 (0)