Thaumcraft API fix