Sentropic / SkillAPI-s

A flexible API for easily creating skills and classes with visual skill trees
13 stars 10 forks source link

Combat Bar not saving Items #38

Open Lovyxia opened 3 years ago

Lovyxia commented 3 years ago

Describe the bug Items from combat hotbars are lost. (It appears they fail to save, SkillAPI gives an error message on client disconnect for instance)

This applies to version 1.16.5, it worked in 1.12.2

To Reproduce Steps to reproduce the behavior: Enable the combat hotbar in the config file. Place items in the combat hotbar. Reload SkillAPI / Disconnect and Reconnect / Restart server -> Items from the combat hotbar are lost.

Expected behavior Items from the combat are supposed to save in the player file, resulting in no loss.

Additional context As I mentioned earlier, I suspect the items fail to save and the config files only list this: combatItems: '9;'

Running 1.12, this value shows a really long string instead. I suspect the item saving needs adjustment since some update inbetween (my guess would be 1.13)

I can provide error logs, configs or player data files if needed.