refactor: context doesn't need slot index
This commit is contained in:
parent
41c271752e
commit
8858395ff8
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue
Block a user