Skip to content

Commit

Permalink
Restore the method
Browse files Browse the repository at this point in the history
  • Loading branch information
Patbox authored Apr 30, 2024
1 parent 81fb684 commit a475d1c
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -343,9 +343,15 @@ public GuiElementBuilder setSkullOwner(String value, @Nullable String signature,
this.itemStack.set(DataComponentTypes.PROFILE, new ProfileComponent(Optional.empty(), Optional.ofNullable(uuid), map));
return this;
}

@Override
public GuiElementBuilder setCallback(GuiElement.ClickCallback callback) {
this.callback = callback;
return this;
}

@Override
public GuiElementBuilder setCallback(GuiElementInterface.ClickCallback callback) {
public GuiElementBuilder setCallback(GuiElementInterface.ItemClickCallback callback) {
this.callback = callback;
return this;
}
Expand Down

0 comments on commit a475d1c

Please sign in to comment.