Fix wrong argument order inside children panels
This commit is contained in:
parent
87a7c2961f
commit
f7e3166ca0
@ -109,7 +109,7 @@ class MatterPanelScreen(
|
|||||||
placeholder = TranslatableComponent("otm.gui.quicksearch")
|
placeholder = TranslatableComponent("otm.gui.quicksearch")
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun onTextChanged(old: String, new: String) {
|
override fun onTextChanged(new: String, old: String) {
|
||||||
if (new == "") {
|
if (new == "") {
|
||||||
menu.filter = Predicate { true }
|
menu.filter = Predicate { true }
|
||||||
} else {
|
} else {
|
||||||
|
@ -223,7 +223,7 @@ class EssenceStorageScreen(menu: EssenceStorageMenu, inventory: Inventory, title
|
|||||||
playGuiClickSound()
|
playGuiClickSound()
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun onTextChanged(old: String, new: String) {
|
override fun onTextChanged(new: String, old: String) {
|
||||||
customDispense = (new.toIntOrNull() ?: 30).coerceAtLeast(1)
|
customDispense = (new.toIntOrNull() ?: 30).coerceAtLeast(1)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user