|
|
|
@ -155,7 +155,7 @@ end);
@@ -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.. |
|
|
|
|