mirror of
https://github.com/tobspr/shapez.io.git
synced 2025-06-13 13:04:03 +00:00
Fixed item input requirement mod handling
This commit is contained in:
parent
4dd4724b29
commit
31bea991cb
@ -141,7 +141,7 @@ export class ItemAcceptorComponent extends Component {
|
||||
// make sure there is a slot and we match the filter
|
||||
if (slot && !(slot.filter && slot.filter != item.getItemType())) {
|
||||
if (MOD_INPUT_REQUIREMENTS[this.inputRequirement]) {
|
||||
return MOD_INPUT_REQUIREMENTS[this.inputRequirement].bind(this)({
|
||||
return MOD_INPUT_REQUIREMENTS[this.inputRequirement].call(this, {
|
||||
entity,
|
||||
item,
|
||||
slotIndex,
|
||||
|
Loading…
Reference in New Issue
Block a user