you dont seem to be actually saving or loading the chest at all?
the way to do it is exactly the same as items, save the chest class, transform and add the inventory array. on load destroy them all and spawn then set inventory array.
you dont seem to be actually saving or loading the chest at all?
the way to do it is exactly the same as items, save the chest class, transform and add the inventory array. on load destroy them all and spawn then set inventory array.