Skip to content

Commit

Permalink
fix: powered blocks sometimes not passing power to adjacent blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
MrTJP committed Jan 20, 2025
1 parent 4c597eb commit 6210eca
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ default boolean discoverStraightCenterOverride(int s) {
CenterLookup lookup = CenterLookup.lookupStraightCenter(getBlockLevel(), getBlockPosition(), s);

if (lookup.tile instanceof IConnectable connectable) {
return canConnectPart(connectable, s, -1) && connectable.connectStraight(this, s, -1);
return canConnectPart(connectable, s, -1) && connectable.connectStraight(this, s ^ 1, -1);
}

return false;
Expand Down

0 comments on commit 6210eca

Please sign in to comment.