From 8858395ff8749aadab9d7c0f754f7a8c8c84a365 Mon Sep 17 00:00:00 2001 From: cha0s Date: Mon, 27 May 2019 19:34:55 -0500 Subject: [PATCH] refactor: context doesn't need slot index --- common/traits/wielder.trait.js | 1 - 1 file changed, 1 deletion(-) diff --git a/common/traits/wielder.trait.js b/common/traits/wielder.trait.js index 7fdbc9b..df6708d 100644 --- a/common/traits/wielder.trait.js +++ b/common/traits/wielder.trait.js @@ -56,7 +56,6 @@ export class Wielder extends decorate(Trait) { // Set up context. this.itemActionsContext.add('user', this.entity); this.itemActionsContext.add('item', item); - this.itemActionsContext.add('slotIndex', slotIndex); // Keep a reference to the item. this.itemActions = item.itemActions; // Defer until the item actions are finished.