1) Fixed a bug where dinv successfully detected a missing item but failed to remove the missing

item from your inventory table.  This could cause refreshes to repeatedly report the issue.
master
Durel 7 years ago
parent 86ced6300d
commit dd18bd80fd

@ -89,7 +89,7 @@ dbot.version : Module to track version and changelog information and update the
save_state="y"
date_written="2017-08-12 08:45:15"
requires="4.98"
version="2.0037"
version="2.0038"
>
<description trim="y">
<![CDATA[
@ -6189,6 +6189,7 @@ function inv.items.identifyItem(objId, idCommand, resultData, commandArray)
if (objLoc == nil) or (objLoc == invItemLocUninitialized) then
dbot.warn("inv.items.identifyItem: Failed to identify item " .. objId ..
": item's location could not be determined")
inv.items.table[objId] = nil
return DRL_RET_MISSING_ENTRY
end -- if

Loading…
Cancel
Save