Compilation error (Caused by procedure)

Published by Ale1025 on
Status
Fixed
Issue description

I was working on a mushroom like block and wanted it to have the same placing mechanics as normal minecraft mushrooms (not the big ones, the cross model ones).

Here I have the compilation error: https://hastebin.com/ruginibifo.cs

 

I'll attach below the shareable workspace.

Issue comments

It seems negative numbers in math operations can cause build problems.

Workaround is to change blocks like this:

Problematic procedure

To use z + 1 instead of z - (-1) which is essentially the same.

Proper fix for this will be in 2020.3.