Thaumcraft crash fix

Bug report from Kieron, who got it from some other who knows who
person...