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

Allow commands in arena.yml to contain colons #4

Merged
merged 1 commit into from
May 31, 2022

Conversation

superspeeder
Copy link
Contributor

Update GameCommandData#runCommands to grab the command as everything after the first colon in the input string. (for example, the string in arena.yml under the commands section might be start:give <player> minecraft:stone 32 and the command would be grabbed properly as give <player> minecraft:stone 32 instead of give <player> minecraft).

@JT122406
Copy link
Owner

Did you test this I assume that you did?

@superspeeder
Copy link
Contributor Author

I have tested this with paper 1.18.2 and it's worked without any errors.

@JT122406
Copy link
Owner

Alrighty sounds good Thanks!

@JT122406 JT122406 merged commit 02d342c into JT122406:master May 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants