GitHub-TC / EmpyrionScripting

Displays various informations directly and live on LCD screens and will support conveyor and construction control
GNU General Public License v3.0
34 stars 5 forks source link

attempting to access a field {{E.S.Players.[0].DrivingEntity.Name}} results in an error #14

Closed drabont7 closed 1 year ago

drabont7 commented 2 years ago

code: {{#test E.S.Players.length 'ge' 0}} {{#if E.S.Players.[0].DrivingEntity}} {{E.S.Players.[0].DrivingEntity.Name}} {{/if}} {{/test}}

output: "{test} [1 ge 0 ]:Exception has been thrown by the target of an invocation. 13:23:50"

versions: Empyrion 1.8.3 3849 04-10:26 EmpyrionScripting by ASTIC/TC Version:11.0.0.0

GitHub-TC commented 1 year ago

Fixed with the 11.1.5