Removed old patches

This commit is contained in:
2017-11-01 20:11:05 +01:00
parent e70dc0daed
commit cf00461feb
28 changed files with 57 additions and 403 deletions

View File

@ -19,6 +19,8 @@ func init() {
}
func main() {
defer arn.Node.Close()
if nick == "" || itemID == "" {
color.Red("Missing parameters")
return
@ -38,6 +40,5 @@ func main() {
// Add to user inventory
inventory := user.Inventory()
inventory.AddItem(itemID, uint(quantity))
err = inventory.Save()
arn.PanicOnError(err)
inventory.Save()
}