fixing crashes with thaumcraft 4.2.1.x due to some changes in TC API

fixed #530