Skip to content

Double negatives in particle command #144

@cs127

Description

@cs127

Describe the bug
A clear and concise description of what the bug is.

Using the "piano roll" visualizer, some particle commands have a "double negative" in them, which is most likely a typo or a coding problem, and it causes the entire mcfunction file to not load in game. For example: instead of particle minecraft:note -9 100 0 0.5 0 0.5 1 4 force @p, there's particle minecraft:note --9 100 0 0.5 0 0.5 1 4 force @p
I don't know if this happens with other visualizers as well, but I found this bug with the piano roll one.

To Reproduce
Steps to reproduce the behavior:

  1. Export a song to a datapack, with the piano roll visualizer (I don't know if other visualizers have the same problem)
  2. Try to load it in game. (It won't work because of the "double negatives" in some mcfunction files)

Expected behavior
A clear and concise description of what you expected to happen.

You get the point. I really don't have to explain.

Screenshots
If applicable, add screenshots to help explain your problem.

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    C: BugSomething isn't workingS: Resolved in next releaseThis bugfix or suggestion has been applied to the code

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions