Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
dnk1234567 committed Feb 1, 2025
1 parent 663572c commit af666d2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public void setSlotIndexClient(int slotIndex) {
writeClientAction(0, buf -> buf.writeVarInt(this.index));
}

public void setSlotIndex(int slotIndex){
public void setSlotIndex(int slotIndex) {
this.index = slotIndex;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,13 @@ public void disableAmountClient() {
this.amountSetWidget.getAmountText().setVisible(false);
}

public void enableAmount(int slotIndex){
public void enableAmount(int slotIndex) {
this.amountSetWidget.setSlotIndex(slotIndex);
this.amountSetWidget.setVisible(true);
this.amountSetWidget.getAmountText().setVisible(true);
}

public void disableAmount(){
public void disableAmount() {
this.amountSetWidget.setSlotIndex(-1);
this.amountSetWidget.setVisible(false);
this.amountSetWidget.getAmountText().setVisible(false);
Expand Down

0 comments on commit af666d2

Please sign in to comment.