- Server Version: Purpur 1.19.2
- Shop Version: 1.8.4.1
Server startup log
-
Shop config files
-
Error log (if applicable)
-
Bug description
Gamble shops chances can be bypassed by filling the inventory and only keeping an diamond in the inventory.
This way, the gamble gets abortet as long as no diamond gets chosen by the gamble algorithm.
You need to cancel every attempt to gamble as long as there is no free inventory slot.
Steps to reproduce
Set up a chest with random items and diamonds
Fill your inventory with signs or whatever
Gamble
Result: Only get diamonds
Expected behaviour
Gamble attempts must be stopped with a full inventory
Actual behaviour
Gamble attempts can be made with a full inventory, resulting in getting only "wanted" items
Is there an existing issue for this?
Type of bug
Exploit, Other unexpected behaviour
Environment
Server startup log
-
Shop config files
-
Error log (if applicable)
-
Bug description
Gamble shops chances can be bypassed by filling the inventory and only keeping an diamond in the inventory. This way, the gamble gets abortet as long as no diamond gets chosen by the gamble algorithm. You need to cancel every attempt to gamble as long as there is no free inventory slot.
Steps to reproduce
Expected behaviour
Gamble attempts must be stopped with a full inventory
Actual behaviour
Gamble attempts can be made with a full inventory, resulting in getting only "wanted" items
Other information
No response