MadsSR/minescript

function parameters are only defined in first scope

Closed this issue · 0 comments

Function parameters are only defined and accessible in the most outer scope of the function. If any other scopes are opened (e.g. with an if- or while-statement), then the parameters cannot be referenced.