1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2025-08-29 08:42:17 +00:00

Fix full-block wired modems not connecting

Closes #1278.
This commit is contained in:
Jonathan Coates
2022-12-29 22:30:09 +00:00
parent 77f62dac94
commit 1259e29f21

View File

@@ -219,7 +219,7 @@ public class WiredModemFullBlockEntity extends BlockEntity {
if (!world.isLoaded(offset)) continue; if (!world.isLoaded(offset)) continue;
var element = connectedElements.get((ServerLevel) getLevel(), getBlockPos(), facing); var element = connectedElements.get((ServerLevel) getLevel(), getBlockPos(), facing);
if (element == null) return; if (element == null) continue;
node.connectTo(element.getNode()); node.connectTo(element.getNode());
} }