Added nullcheck for dungeon boss NBT saving