Bug with the procedure block "Does entity exist at x,y,z in a square cube..."

Published by Hangel on
Status
Fixed
Issue description

I found a bug with the procedure block "Does entity exist at x,y,z in a square cube...", if I use a global variable in the radius :

1

When I tried to start Minecraft client, I got this error :

2

So, I went to the code and I discovered this :

3

There is an empty condition line [   if() {{   ]
 

Do you have a solution ? Can you fix this bug for the 2020.4 please ?

Issue comments

I could not reproduce this with these details alone. Tracker rules:

When possible, attach your MCreator workspace (preferably a minimal example workspace required to reproduce the bug; use File -> Export workspace to a shareable ZIP...), game or build logs (full logs, do not crop them, in text format, screenshots of logs are not acceptable) from the Console tab or terminal and steps to reproduce the bug in your workspace. If logs are long, use service such as Pastebin to host the log and provide the link to the log from the ticket. Please specify which mod elements to check in your workspace too, if applicable.