From fd94e671cd4a4e78b3a6aed80afa6cea10949ab1 Mon Sep 17 00:00:00 2001 From: comp500 Date: Sun, 13 Jun 2021 19:15:57 +0100 Subject: [PATCH] Fix typo --- curseforge/install.go | 2 +- modrinth/install.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/curseforge/install.go b/curseforge/install.go index 8be1066..2c10607 100644 --- a/curseforge/install.go +++ b/curseforge/install.go @@ -370,7 +370,7 @@ func getLatestFile(modInfoData modInfo, mcVersion string, fileID int) (modFileIn } 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) diff --git a/modrinth/install.go b/modrinth/install.go index 98bbd66..ee41a9e 100644 --- a/modrinth/install.go +++ b/modrinth/install.go @@ -143,7 +143,7 @@ func installMod(mod Mod, pack core.Pack) error { return err } 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)