This commit is contained in:
comp500 2021-06-13 19:15:57 +01:00
parent 76460c5414
commit fd94e671cd
2 changed files with 2 additions and 2 deletions

View File

@ -370,7 +370,7 @@ func getLatestFile(modInfoData modInfo, mcVersion string, fileID int) (modFileIn
} }
if fileID == 0 { if fileID == 0 {
return modFileInfo{}, errors.New("mod not available for the configured Minecraft version(s) (use the acceptable-remote-versions option to accept more)") return modFileInfo{}, errors.New("mod not available for the configured Minecraft version(s) (use the acceptable-game-versions option to accept more)")
} }
fileInfoData, err := getFileInfo(modInfoData.ID, fileID) fileInfoData, err := getFileInfo(modInfoData.ID, fileID)

View File

@ -143,7 +143,7 @@ func installMod(mod Mod, pack core.Pack) error {
return err return err
} }
if latestVersion.ID == "" { if latestVersion.ID == "" {
return errors.New("mod is not available for this Minecraft version (use the acceptable-remote-versions option to accept more) or mod loader") return errors.New("mod is not available for this Minecraft version (use the acceptable-game-versions option to accept more) or mod loader")
} }
return installVersion(mod, latestVersion, pack) return installVersion(mod, latestVersion, pack)