We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
BetonQuest version: 2.0.0-DEV-754 Server version: git-Paper-196 (MC: 1.20.1)
Hooked into: Citizens (2.0.32-SNAPSHOT (build 3208)), ProtocolLib (5.1.1-SNAPSHOT-673), WorldEdit (7.2.17+6544-56d0383)
Math variable should resolve perfectly fine when used, even for modulo operator %, as written in the docs.
%
Given the following example:
events: test: 'log You clearly are a %math.calc:64%32% out of 10.'
Should resolve to: You clearly are a 0 out of 10.'
You clearly are a 0 out of 10.'
Resolves to: You clearly are a 6432% out of 10.'
You clearly are a 6432% out of 10.'
/q reload
Question on discord: https://discord.com/channels/407221862980911105/1170834066317254817
The text was updated successfully, but these errors were encountered:
The following Regex is used for detecting variables:
BetonQuest/src/main/java/org/betonquest/betonquest/BetonQuest.java
Line 642 in 2fde85a
Thats why variables may not contain the % character.
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Confirm the following
BetonQuest version information
BetonQuest version: 2.0.0-DEV-754
Server version: git-Paper-196 (MC: 1.20.1)
Hooked into: Citizens (2.0.32-SNAPSHOT (build 3208)), ProtocolLib (5.1.1-SNAPSHOT-673), WorldEdit (7.2.17+6544-56d0383)
Expected behaviour
Math variable should resolve perfectly fine when used, even for modulo operator
%
, as written in the docs.Given the following example:
Should resolve to:
You clearly are a 0 out of 10.'
Actual behaviour
Resolves to:
You clearly are a 6432% out of 10.'
Steps to reproduce
/q reload
Error, Warning, Exception or Thread Dump
Additional information
Question on discord: https://discord.com/channels/407221862980911105/1170834066317254817
The text was updated successfully, but these errors were encountered: