Fix crash when technic is installed