diff --git a/src/main/java/net/fabricmc/loader/impl/metadata/BuiltinModMetadata.java b/src/main/java/net/fabricmc/loader/impl/metadata/BuiltinModMetadata.java index 36f6a28f..f5547c21 100644 --- a/src/main/java/net/fabricmc/loader/impl/metadata/BuiltinModMetadata.java +++ b/src/main/java/net/fabricmc/loader/impl/metadata/BuiltinModMetadata.java @@ -167,6 +167,11 @@ public Builder(String id, String version) { } } + public Builder(String id, Version version) { + this.name = this.id = id; + this.version = version; + } + public Builder setEnvironment(ModEnvironment environment) { this.environment = environment; return this;