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

Some events throw exceptions when adding conditions. #2761

Open
2 tasks done
TheosRee opened this issue Apr 24, 2024 · 0 comments
Open
2 tasks done

Some events throw exceptions when adding conditions. #2761

TheosRee opened this issue Apr 24, 2024 · 0 comments
Labels
Bug A bug in the code or in a documentation.

Comments

@TheosRee
Copy link
Member

Confirm the following

  • I use the latest release or dev-build. I also checked that this problem hasn't already been fixed in a newer dev-build.
  • There are no open or closed issues that are related to my problem.

BetonQuest version information

BetonQuest version: 2.0.2-DEV-6
Server version: git-Paper-463 (MC: 1.20.4)

Hooked into:

Expected behaviour

The event can parse even when a condition is given but some optional arguments are omitted.

Actual behaviour

The event can't parse and throws because of invalid argument format.

Steps to reproduce

events:
  grantPerm: permission add perm IAmAdmin conditons:gamebreaker

conditions:
  gamebreaker: tag gamebreaker

Error, Warning, Exception or Thread Dump

No response

Additional information

This problem also occurs in some MMO events and conditions.

@TheosRee TheosRee added the Bug A bug in the code or in a documentation. label Apr 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug A bug in the code or in a documentation.
Projects
Status: Todo
Development

No branches or pull requests

1 participant