Hello. Im coding a plugin to set vending stock.
Im trying to set the stock of an item via the function "OnRefreshVendingStock", however it is not working.
Im doing this.
But its returning "Type `Item' does not contain a definition for `Amount' and no extension method `Amount' of type `Item' could be found. Are you missing an assembly reference?" How can i fix this?