mcscript icon indicating copy to clipboard operation
mcscript copied to clipboard

A boolean if/else statement doesn't include "entity" in the execute command

Open theTisch21 opened this issue 5 years ago • 1 comments

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: image Generated output: image Expected output: image

theTisch21 avatar Dec 31 '20 05:12 theTisch21

Can confirm.

vichvich4444 avatar Jun 14 '21 10:06 vichvich4444