Skip to content

Commit

Permalink
Fix mixin mismatch descriptor
Browse files Browse the repository at this point in the history
  • Loading branch information
RuriYS authored and sbxte committed Jan 20, 2025
1 parent fef076a commit 5049f5f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public class ModuleMixin {
@Mutable @Shadow public String title;

@Inject(method = "<init>", at = @At("TAIL"))
private void onInit(Category category, String name, String description, CallbackInfo info) {
private void onInit(Category category, String name, String description, String[] aliases, CallbackInfo info) {
if (RejectsConfig.get().duplicateModuleNames) {
this.name = RejectsUtils.getModuleName(name);
this.title = Utils.nameToTitle(this.name);
Expand Down

0 comments on commit 5049f5f

Please sign in to comment.