debug
This commit is contained in:
parent
f2ff1eb08d
commit
7788a568d4
1
item.go
1
item.go
@ -394,6 +394,7 @@ func loadObjItem() error {
|
|||||||
log.Printf("Loading existing names done...\n")
|
log.Printf("Loading existing names done...\n")
|
||||||
|
|
||||||
for _, i := range cacheObjItem {
|
for _, i := range cacheObjItem {
|
||||||
|
log.Printf("Accessing objItems[%d]\n", i)
|
||||||
if objItems[i].ObjID64 == 0 {
|
if objItems[i].ObjID64 == 0 {
|
||||||
log.Printf("loadObjItem : adding %s (%s)\n", objItems[i].Names[0], objItems[i].Code)
|
log.Printf("loadObjItem : adding %s (%s)\n", objItems[i].Names[0], objItems[i].Code)
|
||||||
id, err := addObjItem(objItems[i].Code, objItems[i].Names[0], objItems[i].ItemTypeID, objItems[i].Weight, objItems[i].Exchange, objItems[i].Auction, objItems[i].Craftable)
|
id, err := addObjItem(objItems[i].Code, objItems[i].Names[0], objItems[i].ItemTypeID, objItems[i].Weight, objItems[i].Exchange, objItems[i].Auction, objItems[i].Craftable)
|
||||||
|
Loading…
Reference in New Issue
Block a user