Skip to content

Commit

Permalink
remove unused constructor parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
Greeenman999 committed Dec 9, 2023
1 parent 020ce87 commit 55beb03
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/java/de/greenman999/screens/ControlUi.java
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ protected void init() {
.id(1)
.build());

enchantmentsListWidget = new EnchantmentsListWidget(this.client, this.width / 2 - 10, this.height - 30, 25, this.height - 5, 20);
enchantmentsListWidget = new EnchantmentsListWidget(this.client, this.width / 2 - 10, this.height - 30, 25, 20);
this.addDrawableChild(enchantmentsListWidget);

this.addDrawableChild(GrayButtonWidget.builder(getButtonText("tradefinderui.options.tp-to-villager", LibrarianTradeFinder.getConfig().tpToVillager), (buttonWidget) -> {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public class EnchantmentsListWidget extends EntryListWidget<EnchantmentEntry> {
public GrayButtonWidget resetButton;
public int top;

public EnchantmentsListWidget(MinecraftClient client, int width, int height, int top, int bottom, int itemHeight) {
public EnchantmentsListWidget(MinecraftClient client, int width, int height, int top, int itemHeight) {
super(client, width, height, top, itemHeight);
this.top = top;

Expand Down

0 comments on commit 55beb03

Please sign in to comment.