Skip to content

Commit

Permalink
Add a BuiltinModMetadata$Builder constructor with a raw version
Browse files Browse the repository at this point in the history
  • Loading branch information
Matyrobbrt committed Jan 22, 2024
1 parent f2371e5 commit 2c21b6a
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 2c21b6a

Please sign in to comment.