Skip to content

Commit

Permalink
Add helper for GuiTextFieldGeneric.java -> setText()
Browse files Browse the repository at this point in the history
  • Loading branch information
sakura-ryoko committed Jan 12, 2025
1 parent 1fe3f7b commit 960cf10
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/main/java/fi/dy/masa/malilib/gui/GuiTextFieldGeneric.java
Original file line number Diff line number Diff line change
Expand Up @@ -100,4 +100,10 @@ public void renderWidget(DrawContext context, int mouseX, int mouseY, float delt
super.renderWidget(context, mouseX, mouseY, delta);
}
}

// For compat reasons
public void setTextWrapper(String text)
{
this.setText(text);
}
}

0 comments on commit 960cf10

Please sign in to comment.