Yes, it will be changed when it's a book to a enchanted book. But i moved the code, because it don't have to do anything with EnchantmentWeights.