Skip to content

Commit

Permalink
Fix LootPoolBuilderMixin#setName
Browse files Browse the repository at this point in the history
  • Loading branch information
AlphaMode committed Nov 13, 2023
1 parent 862ede1 commit a7d96b2
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,9 @@ public LootPool.Builder name(String name) {
}

@ModifyReturnValue(method = "build", at = @At("RETURN"))
public void setName(LootPool pool) {
public LootPool setName(LootPool pool) {
pool.setName(name);
return pool;
}
}

Expand Down

0 comments on commit a7d96b2

Please sign in to comment.