1
0
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:
Sense101 2022-02-10 00:29:01 +00:00
parent 4dd4724b29
commit 31bea991cb

View File

@ -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,