Skip to content

Commit

Permalink
Merge branch 'master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
Xtendera authored Jan 21, 2025
2 parents 8c7c94e + 5049f5f commit 91a1c13
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/anticope/rejects/mixin/meteor/ModuleMixin.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ public class ModuleMixin {
@Mutable @Shadow public String name;

@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 91a1c13

Please sign in to comment.