CHANGES IN 2.3
I did not have 7 hours worth of debugging in mind but here we are, finally fixed the issue from version 2.1 which was released earlier today. I do believe that this may cause some breaking changes, as quite a lot of the code was modified and being updated to support YAML fully & quite a few bug fixes.
If you installed 2.1 or 2.2 you may need to delete your Users folder in /plugins/Charity and data.yml aswell.
- Migrations - User's .yml files will automatically convert from a properties style config to yaml
- Cooldown Logic Fixed - Cooldown duration now correctly interpreted in seconds, not minutes
- Fixed Double-Karma Bug - Left-click no longer allows taking items back from the charity shop. Right-click correctly removes karma once when retrieving donated items
- System.out Warning - Noted warning from Paper about System.out.println usage. Planning to replace with getLogger() for cleaner console logs.
- Removed noItems from config.yml - Deleted noItems default line from an internal java file. Code fallback still exists but may need future refactor.
- YAML Integer Parsing Fix - Handled player stats stored as string values with quotes in data.yml & used some magic before parsing integers to avoid a number format exception. Same method used for user's .yml files!
- bStats is now added (as mentioned in version 2.2)