refactor: context doesn't need slot index

This commit is contained in:
cha0s 2019-05-27 19:34:55 -05:00
parent 41c271752e
commit 8858395ff8

View File

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