You must save class, coordinate and needed variables for all needed objects, like dropped items or inventory, then when loading spawn that objects and set their variables.
You must save class, coordinate and needed variables for all needed objects, like dropped items or inventory, then when loading spawn that objects and set their variables.