Cartographer Villager's 2nd Trade Crashing Server/Singleplayer - Modded Fabric 1.21.1
When unlocking the second trade of the cartographer, looking at the villager will cause fps drops, then after sometime the game would crash. Right-clicking on the villager will also immediately crash with the error
java.lang.IllegalStateException: Value must be within range [1;99]: 0; Item must not be minecraft:air.latest.log251.17KB
Solution
Figured it out. It was a Supplementaries mod bug that has been fixed in the latest version.