PikaMug / Quests

Easy-to-use, open-source plugin for the creation and execution of quests on Minecraft servers.
https://modrinth.com/plugin/quests.classic
MIT License
141 stars 104 forks source link

Quest points can be negative value #2167

Closed Raava3 closed 7 months ago

Raava3 commented 7 months ago

What is your Quests version / build number (do not say "latest")?

5.0.0-rc.2-b435

Describe the problem and how to replicate it.

Players can have negative quest points. When you use /Questadmin takepoints Player Amount it can go into negative numbers. I was trying to use it as currency that players can exchange between each other for in-game money. Unfortunately it was subtracting past zero.

Any console errors to share?

None

If applicable, can you provide an example quest from quests.yml?

Not applicable
PikaMug commented 7 months ago

https://ci.codemc.io/job/PikaMug/job/Quests/437/