diff --git a/filters.lua b/filters.lua index 8f25ecb..4a6beee 100644 --- a/filters.lua +++ b/filters.lua @@ -155,7 +155,7 @@ end); -- desc: Called when our addon receives an incoming packet. --------------------------------------------------------------------------------------------------- ashita.register_event('incoming_packet', function(id, size, data) - if (id == 0xB4) then + if (id == 0xB4 and filters.current ~= nil and #filters.current > 0) then local realpacket = data:totable(); -- Send the filter update packet..