Open InkerBot opened 3 years ago
Add an option to Allow players use Creative-mode's computers and robots.
Sorry for poor ability in scala, I list all files may need edit.
https://github.com/MightyPirates/OpenComputers/blob/af2db43c53b9690fceabfb813987572bf2258db5/src/main/scala/li/cil/oc/common/tileentity/Robot.scala#L707
https://github.com/MightyPirates/OpenComputers/blob/af2db43c53b9690fceabfb813987572bf2258db5/src/main/scala/li/cil/oc/common/tileentity/Case.scala#L121
https://github.com/MightyPirates/OpenComputers/blob/af2db43c53b9690fceabfb813987572bf2258db5/src/main/scala/li/cil/oc/common/block/Case.scala#L94
https://github.com/MightyPirates/OpenComputers/blob/af2db43c53b9690fceabfb813987572bf2258db5/src/main/scala/li/cil/oc/common/EventHandler.scala#L237 (And line 242)
https://github.com/MightyPirates/OpenComputers/blob/af2db43c53b9690fceabfb813987572bf2258db5/src/main/scala/li/cil/oc/common/block/RobotProxy.scala#L252
I think this could be a good idea but it must be disable by default to protect multiplayer servers.
Add an option to Allow players use Creative-mode's computers and robots.
Sorry for poor ability in scala, I list all files may need edit.
https://github.com/MightyPirates/OpenComputers/blob/af2db43c53b9690fceabfb813987572bf2258db5/src/main/scala/li/cil/oc/common/tileentity/Robot.scala#L707
https://github.com/MightyPirates/OpenComputers/blob/af2db43c53b9690fceabfb813987572bf2258db5/src/main/scala/li/cil/oc/common/tileentity/Case.scala#L121
https://github.com/MightyPirates/OpenComputers/blob/af2db43c53b9690fceabfb813987572bf2258db5/src/main/scala/li/cil/oc/common/block/Case.scala#L94
https://github.com/MightyPirates/OpenComputers/blob/af2db43c53b9690fceabfb813987572bf2258db5/src/main/scala/li/cil/oc/common/EventHandler.scala#L237 (And line 242)
https://github.com/MightyPirates/OpenComputers/blob/af2db43c53b9690fceabfb813987572bf2258db5/src/main/scala/li/cil/oc/common/block/RobotProxy.scala#L252