Fix slight error introduced in 045b90a4
This commit is contained in:
@@ -239,7 +239,7 @@ public abstract class NetworkNode implements INetworkNode, INetworkNodeVisitor {
|
|||||||
for (Direction facing : Direction.values()) {
|
for (Direction facing : Direction.values()) {
|
||||||
BlockPos facingPos = pos.relative(facing);
|
BlockPos facingPos = pos.relative(facing);
|
||||||
if (!level.isLoaded(facingPos)) {
|
if (!level.isLoaded(facingPos)) {
|
||||||
return;
|
continue;
|
||||||
}
|
}
|
||||||
INetworkNode oppositeNode = NetworkUtils.getNodeFromBlockEntity(level.getBlockEntity(facingPos));
|
INetworkNode oppositeNode = NetworkUtils.getNodeFromBlockEntity(level.getBlockEntity(facingPos));
|
||||||
if (oppositeNode == null) {
|
if (oppositeNode == null) {
|
||||||
|
Reference in New Issue
Block a user