adds a working inventory

This commit is contained in:
2019-08-05 15:41:41 +02:00
parent 894f5f8200
commit 10d157a9af
6 changed files with 2273 additions and 4 deletions

View File

@@ -48,7 +48,7 @@
<template v-if="isAdding">
<h2 v-show="playerIsGroup">ItemInput</h2>
<AddingChest
:items="playerIsGroup ? [] : shopInventory"
:items="playerIsGroup ? [] : state.inventory"
:perms="playerIsGroup ? {} : { canBuy: true }"
@buy="(data) => { switchView('player'); actions.buyItems(data); }">
</AddingChest>