Fixed not casting to int in Thaumcraft protections.