forked from TheIllusiveC4/Curios
-
Notifications
You must be signed in to change notification settings - Fork 0
Serialization fails for FakePlayers #13
Copy link
Copy link
Open
Description
For editing playerdata while the players are offline I load the player in as a fake player, do some changes and then resaved.
https://github.com/Darkere/CrashUtilities/blob/c18402c1c5f6e181d73c85b037a7b2ce8a8abae0/src/main/java/com/darkere/crashutils/WorldUtils.java#L73
During this save the curios serialization fails because the CuriosInventory does not seem to get initialized for Fakeplayers.
Any chance this can be changed? Maybe there are some changes I can do to the fakeplayer that will allow them to initialise?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels