Skip to content

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

Open

Description

@theTisch21

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

Activity

  1. vichvich4444 commented on Jun 14, 2021

    @vichvich4444

    Can confirm.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions