Skip to content

Commit 9e0b636

Browse files
committed
[#441]Let the Me Bridge's isConnected function only return true when the me bridge is actually connected to an active me system
1 parent b4e4c58 commit 9e0b636

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/de/srendi/advancedperipherals/common/addons/computercraft/peripheral/MeBridgePeripheral.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ private MethodResult notConnected() {
150150

151151
@LuaFunction(mainThread = true)
152152
public final boolean isConnected() {
153-
return node.getGrid() != null && node.hasGridBooted();
153+
return node.getGrid() != null && node.hasGridBooted() && node.isActive();
154154
}
155155

156156
@LuaFunction

0 commit comments

Comments
 (0)