ChestShop-authors / ChestShop-3

ChestShop - the chest & sign shop plugin for Minecraft Servers running Bukkit/Spigot/Paper
https://dev.bukkit.org/projects/chestshop
GNU Lesser General Public License v2.1
272 stars 178 forks source link

Fix zero partial price exploit #522

Closed Krakenied closed 2 years ago

Phoenix616 commented 2 years ago

Thanks for noticing as well as fixing this! Any chance you are also able to write a test for this so something along that line doesn't happen anymore like checking that the return price will never be zero? (Not a priority and if you don't find a time for that then I will try to remember to do that at some time)