Skip to content

Commit

Permalink
Merge pull request #2042 from RubenatorX/patch-5
Browse files Browse the repository at this point in the history
Equipviewer -- Private Server Ammo disappear bandaid
  • Loading branch information
z16 authored Jun 7, 2021
2 parents 64f49db + b5f6ddb commit c85e1f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/equipviewer/equipviewer.lua
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ windower.register_event('incoming chunk', function(id, original, modified, injec
end

if slot then
if packet['Status'] ~= 5 then --item not equipped
if packet['Status'] ~= 5 and packet['Count'] == 0 then --item not equipped
update_equipment_slot:schedule(0, '0x%x':format(id), slot, 0, 0, 0)
return
end
Expand Down

0 comments on commit c85e1f3

Please sign in to comment.