diff --git a/src/app/components/party-inventory/party-inventory.component.ts b/src/app/components/party-inventory/party-inventory.component.ts index 242a38a2..8b84a9c8 100644 --- a/src/app/components/party-inventory/party-inventory.component.ts +++ b/src/app/components/party-inventory/party-inventory.component.ts @@ -123,7 +123,14 @@ export class PartyInventoryComponent implements OnDestroy { return this.notify.show(`${entity.name} cannot equip this item`); } if (entity[event.slot]) { - return this.notify.show(`${entity.name} already has item in ${event.slot}`); + const oldItem: any = entity[event.slot]; + this.store.dispatch( + new GameStateUnequipItemAction({ + entityId: entity.eid, + slot: event.slot, + itemId: oldItem.eid, + }) + ); } this.store.dispatch( new GameStateEquipItemAction({