This commit is contained in:
shoopea 2020-01-26 16:57:10 +08:00
parent 6b0d2bf914
commit 79e31072db

View File

@ -208,6 +208,7 @@ func setObjItemCraft(objID64 int64, cmd string, mana int64) error {
}
func emptyObjItemCraftItem(objID64 int64) error {
log.Printf("emptyObjItemCraftItem[%d] : starting..\n", objID64)
stmt, err := db.Prepare(`DELETE FROM obj_craft_item WHERE obj_id = ?;`)
logOnError(err, "emptyObjItemCraftItem : prepare delete obj_craft_item")
if err != nil {