This commit is contained in:
shoopea 2020-01-05 14:38:05 +08:00
parent 98fd748b93
commit 3540cfda8b

2
job.go
View File

@ -1278,7 +1278,7 @@ func jobGWithdraw(j Job) {
if id != 0 {
obj, _ := getObjItem(id)
switch obj.ItemTypeID {
case cacheObjSubTypefix[`item_res`]:
case cacheObjSubType[`item_res`]:
p.Status = p.Status | 1
case cacheObjSubType[`item_alch`]:
p.Status = p.Status | 2