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 authored and Su5eD committed May 1, 2024
1 parent 47e8d84 commit c4d7633
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 c4d7633

Please sign in to comment.