Darkhax-Minecraft / Game-Stages

An API for universal player based progression.
https://minecraft.curseforge.com/projects/game-stages
GNU Lesser General Public License v2.1
64 stars 17 forks source link

PlayerDataHandler.IStageData#getUnlockedStages() returns empty collection on client #8

Closed codetaylor closed 6 years ago

codetaylor commented 6 years ago

I recently updated gamestages from 1.0.76 to 1.0.78 and staged recipes stopped working in my mod, Artisan Worktables.

I narrowed the issue down to this call:

PlayerDataHandler.getStageData(player).getUnlockedStages()

On the server it returns a collection with the proper strings: image

However, on the client: image

I tested in the previous version I had, 1.0.76 and everything works as expected. After updating to 1.0.78 the issue began.

Please let me know if there is anything I can do to help, thanks!

Darkhax commented 6 years ago

Thanks for the report, and sorry for the hassle. I unintentionally broke packet syncing through a more invasive code cleanup script. Everything should be fixed with build 80.

codetaylor commented 6 years ago

No worries, no hassle. Bugs are part of the process. :)

Thanks for the fast turnaround on this issue and for all the work you do.