This commit is contained in:
shoopea 2020-01-26 16:57:39 +08:00
parent 79e31072db
commit cf493c1eaa

View File

@ -221,10 +221,12 @@ func emptyObjItemCraftItem(objID64 int64) error {
if err != nil {
return err
}
log.Printf("emptyObjItemCraftItem[%d] : done..\n", objID64)
return nil
}
func addObjItemCraftItem(objID64 int64, itemID64 int64, quantity int64) error {
log.Printf("emptyObjItemCraftItem[%d] : starting..\n", objID64)
stmt, err := db.Prepare(`INSERT INTO obj_craft_item (obj_id, item_id, mana)
VALUES (?, ?, ?);`)