Adapted to AE2 GuiAmount changes (#338)

Co-authored-by: boubou19 <[email protected]>
This commit is contained in:
Kogepan229andboubou19 authored and GitHub committed 2025-09-27 17:59:42 +02:00
1 parent 0d58fe01b2
commit 8c2bd3ceef
2 files changed
+11 -10

No files matched your search

@@ -117,8 +117,9 @@ public class GuiPatternMulti extends GuiAmount {
}
@Override
protected long addOrderAmount(final int i) {
return i + getAmount();
protected void addAmount(int i) {
this.amountTextField.setText(Long.toString(i + getAmount()));
this.amountTextField.setCursorPositionEnd();
}
@Override