mcscript
mcscript copied to clipboard
A boolean if/else statement doesn't include "entity" in the execute command
Hi! I discovered a bug:
When writing an if/else statement that uses a boolean variable, the generator does not include the word "entity" inside the "unless" execute statement that was generated for the "else" statement, causing the datapack to not run. Here's an example:
My code:
Generated output:
Expected output:

Can confirm.