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
MrTJP committed Jan 20, 2025
1 parent fd6e5a5 commit 4653888
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -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;

0 comments on commit 4653888

Please sign in to comment.