From 31bea991cb1a0ab86acd59b826289cdc9e6751f8 Mon Sep 17 00:00:00 2001 From: Sense101 Date: Thu, 10 Feb 2022 00:29:01 +0000 Subject: [PATCH] Fixed item input requirement mod handling --- src/js/game/components/item_acceptor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/game/components/item_acceptor.js b/src/js/game/components/item_acceptor.js index 1f544d76..60c78e86 100644 --- a/src/js/game/components/item_acceptor.js +++ b/src/js/game/components/item_acceptor.js @@ -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,