Fixing buggy treasure chests, related to a problem with Kryo constructor (??)