Fix NPE with CoreMods who do not have the new MCVersion annotation.