test
This commit is contained in:
parent
a40cb6d92f
commit
8ce47d626a
2
item.go
2
item.go
@ -354,7 +354,7 @@ func loadObjItem() error {
|
|||||||
setObjItemCraft(objItems[i].ObjID64, objItems[i].Craft.Command, objItems[i].Craft.Mana)
|
setObjItemCraft(objItems[i].ObjID64, objItems[i].Craft.Command, objItems[i].Craft.Mana)
|
||||||
emptyObjItemCraftItem(objItems[i].ObjID64)
|
emptyObjItemCraftItem(objItems[i].ObjID64)
|
||||||
for k, o := range objItems[i].Craft.Items {
|
for k, o := range objItems[i].Craft.Items {
|
||||||
if id, ok := cacheObjItem[objItems[i].Code]; !ok {
|
if id, ok := cacheObjItem[o.Code]; !ok {
|
||||||
log.Printf("loadObjItem : %s : unknown item %s for recipe.\n", objItems[i].Code, o.Code)
|
log.Printf("loadObjItem : %s : unknown item %s for recipe.\n", objItems[i].Code, o.Code)
|
||||||
} else {
|
} else {
|
||||||
log.Printf("loadObjItem : %s : adding %s (%d) to the recipe.\n", objItems[i].Code, o.Code, o.Quantity)
|
log.Printf("loadObjItem : %s : adding %s (%d) to the recipe.\n", objItems[i].Code, o.Code, o.Quantity)
|
||||||
|
Loading…
Reference in New Issue
Block a user