Vault

Vault

7M Downloads

Items as currency with a full inventory

Devinish opened this issue ยท 1 comments

commented

We are glad you have added support for using items as currency with GoldisMoney and Gringott, unfortunately there is a problem. When we add the economy items to the inventories of the player after a SignShop transaction, if their inventory is full, they will be lost. We would need a function called canHas() to check and see if those items can be added to the player's inventory. I know Gringott has a way of checking that number, we would need Vault to return the result.

Thanks again,
The SignShop Team

commented

The proper method is to check what the result of the deposit is. Not assume it's completing properly.