Fix coremods on 1.6+