test
This commit is contained in:
parent
d6b5147dfc
commit
c26fb50fd2
4
obj.go
4
obj.go
@ -944,7 +944,7 @@ func loadObjItem2() error {
|
||||
ItemTypeID: i.ItemTypeID,
|
||||
Weight: i.Weight,
|
||||
Craft: ChatWarsItemCraft{},
|
||||
Names: make([]string, 1),
|
||||
Names: make([]string, 0),
|
||||
}
|
||||
|
||||
for _, n := range i.Names {
|
||||
@ -1083,7 +1083,7 @@ func loadObjItem() error {
|
||||
c.ObjID64 = id
|
||||
c.ItemTypeID = type_id
|
||||
c.Code = intl_id
|
||||
n := make([]string, 1)
|
||||
n := make([]string, 0)
|
||||
n = append(n, name)
|
||||
c.Names = n
|
||||
c.Weight = weight
|
||||
|
Loading…
Reference in New Issue
Block a user