diff --git a/src/main/kotlin/ru/dbotthepony/mc/otm/menu/MatteryMenu.kt b/src/main/kotlin/ru/dbotthepony/mc/otm/menu/MatteryMenu.kt index e3299f78e..c86d38b2c 100644 --- a/src/main/kotlin/ru/dbotthepony/mc/otm/menu/MatteryMenu.kt +++ b/src/main/kotlin/ru/dbotthepony/mc/otm/menu/MatteryMenu.kt @@ -179,9 +179,7 @@ abstract class MatteryMenu( } } - inner class SortInput(val container: Container, settings: IItemStackSortingSettings?) { - val settings = IItemStackSortingSettings.inputs(this@MatteryMenu, settings) - + inner class SortInput(val container: Container, val settings: IItemStackSortingSettings) { val input = PlayerInput(CollectionStreamCodec(VarIntValueCodec, ::IntArrayList)) { container.sortWithIndices(it) }