mirror of
https://github.com/MightyPirates/OpenComputers.git
synced 2025-09-28 07:25:35 -04:00
Merge branch 'master-MC1.7.10' of github.com:MightyPirates/OpenComputers into OC1.5-MC1.7.10
This commit is contained in:
commit
efd8fbde2a
@ -121,7 +121,7 @@ object EventHandler {
|
||||
val invalid = mutable.ArrayBuffer.empty[Robot]
|
||||
runningRobots.foreach(robot => {
|
||||
if (robot.isInvalid) invalid += robot
|
||||
else robot.machine.update()
|
||||
else if (robot.world != null) robot.machine.update()
|
||||
})
|
||||
runningRobots --= invalid
|
||||
}
|
||||
|
@ -33,7 +33,7 @@ import scala.collection.convert.WrapAsScala._
|
||||
class CablePart(val original: Option[tileentity.Cable] = None) extends SimpleBlockPart with TCuboidPart with TNormalOcclusion with network.Environment {
|
||||
val node = api.Network.newNode(this, Visibility.None).create()
|
||||
|
||||
private var _color = 0
|
||||
private var _color = Color.LightGray
|
||||
|
||||
original.foreach(cable => _color = cable.color)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user