fix using clientside method serverside
This commit is contained in:
parent
14c0ff1476
commit
3a108c3b13
@ -58,7 +58,7 @@ class ItemHandlerPlayerInput(val menu: MatteryMenu, val allowPull: Boolean = tru
|
||||
pull.withSupplier { pieces.values.all { it.pull.value } }
|
||||
push.withSupplier { pieces.values.all { it.push.value } }
|
||||
|
||||
pull.withConsumer { v -> pieces.values.forEach { it.pull.input.input(v) } }
|
||||
push.withConsumer { v -> pieces.values.forEach { it.push.input.input(v) } }
|
||||
pull.withConsumer { v -> pieces.values.forEach { it.pull.input.invoke(v) } }
|
||||
push.withConsumer { v -> pieces.values.forEach { it.push.input.invoke(v) } }
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user