minecraft_bigreactor_control icon indicating copy to clipboard operation
minecraft_bigreactor_control copied to clipboard

Code always runs as if in CraftOS 1.6/1.7

Open evan1026 opened this issue 8 years ago • 0 comments

On line 168 improper syntax is used causing "CraftOS 1.7" to be evaluated as a boolean rather than comparing it against ccVersion. As a result, the code will always call term.redirect(term.native()) regardless of the version.

Should be changed from:

if ccVersion == "CraftOS 1.6" or "CraftOS 1.7" then

to:

if ccVersion == "CraftOS 1.6" or ccVersion == "CraftOS 1.7" then

evan1026 avatar Jul 21 '16 16:07 evan1026