Only warn when the yarn version does not match the minecraft version.
Should allow yarn versions to be used across mc versions when needed.
This commit is contained in:
parent
4eb0290bb4
commit
b377db7297
1 changed files with 1 additions and 1 deletions
|
@ -196,7 +196,7 @@ public class MappingsProviderImpl extends DependencyProvider implements Mappings
|
|||
String yarnMinecraftVersion = yarnVersion.substring(0, yarnVersion.lastIndexOf(separator));
|
||||
|
||||
if (!yarnMinecraftVersion.equalsIgnoreCase(minecraftVersion)) {
|
||||
throw new RuntimeException(String.format("Minecraft Version (%s) does not match yarn's minecraft version (%s)", minecraftVersion, yarnMinecraftVersion));
|
||||
getProject().getLogger().warn("Minecraft Version ({}) does not match yarn's minecraft version ({})", minecraftVersion, yarnMinecraftVersion);
|
||||
}
|
||||
|
||||
// We can save reading the zip file + header by checking the file name
|
||||
|
|
Loading…
Reference in a new issue