Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Macro Factories with multiple parameters will merge results #44

Open
w00tyd00d opened this issue Oct 20, 2023 · 0 comments
Open

Macro Factories with multiple parameters will merge results #44

w00tyd00d opened this issue Oct 20, 2023 · 0 comments
Assignees
Labels
Priority: Medium This should be looked into within a few days Status: Pending Looking into it Type: Bug Something isn't working

Comments

@w00tyd00d
Copy link

w00tyd00d commented Oct 20, 2023

Describe the bug

Creating a new macro factory using #define that has more than one parameter will produce commands that have their arguments concatenated together instead of being separated by a space.

To Reproduce

  1. Create a macro factory with more than one parameter. eg: #define tp_to(x, y) tp x y
  2. Use the macro factory somewhere within your project and compile it. If the example was used, the resulting command will incorrectly have both player names/selectors merged together.

Screenshots

image
image
image

Desktop

  • Windows 10

Additional context

One thing that does fix this behavior is by adding an extra space in the macro factory wherever the space is missing from the end result (eg: #define tp_to(x,y) to x y -- notice the two spaces between x and y). Obviously this fix isn't ideal, I just thought that it might help debug the behavior.

@w00tyd00d w00tyd00d added the Type: Bug Something isn't working label Oct 20, 2023
@WingedSeal WingedSeal added Status: Pending Looking into it Priority: Medium This should be looked into within a few days labels Oct 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority: Medium This should be looked into within a few days Status: Pending Looking into it Type: Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants