use of delta.games.lotro.character.storage.ItemsStash in project lotro-companion by dmorcellet.
the class StashWindowController method cloneItem.
private void cloneItem() {
GenericTableController<Item> controller = _itemsTable.getTableController();
Item item = controller.getSelectedItem();
if (item != null) {
Item clone = ItemFactory.clone(item);
clone.setStashIdentifier(null);
ItemsStash stash = _toon.getStash();
stash.addItem(clone);
_toon.saveStash();
_itemsTable.getTableController().refresh();
}
}
Aggregations