mirror of
https://github.com/MightyPirates/OpenComputers.git
synced 2025-09-16 10:51:55 -04:00
Fixed side check for server racks in internal switch mode.
This commit is contained in:
parent
3665e26b9f
commit
84b0abb4bf
@ -149,7 +149,7 @@ class ServerRack extends traits.PowerAcceptor with traits.Hub with traits.PowerB
|
||||
override protected def relayPacket(sourceSide: ForgeDirection, packet: Packet) {
|
||||
if (internalSwitch) {
|
||||
for (slot <- 0 until servers.length) {
|
||||
val side = sides(slot)
|
||||
val side = toGlobal(sides(slot))
|
||||
if (side != sourceSide) {
|
||||
servers(slot) match {
|
||||
case Some(server) => server.node.sendToNeighbors("network.message", packet)
|
||||
|
Loading…
x
Reference in New Issue
Block a user