Skip to content

Improve handling of high numbers of experience points #9

Description

@justwheel

Problem

If a player has a large number of experience levels beyond the threshold of the number of bottles their inventory can hold, the plugin does not function as expected.

Solution

Add a check to see how many free spots are left in the player's inventory and only withdraw the correct number of bottles that can fill their inventory.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions