Browse Source

Do nothing if not enabled.

master
atom0s 4 years ago
parent
commit
eba4630e95
  1. 1
      sexchange.lua

1
sexchange.lua

@ -120,6 +120,7 @@ end);
ashita.register_event('incoming_packet', function(id, size, data, modified, blocked) ashita.register_event('incoming_packet', function(id, size, data, modified, blocked)
-- Do nothing if the packet is blocked.. -- Do nothing if the packet is blocked..
if (blocked == true) then return false; end if (blocked == true) then return false; end
if (sexchange.enabled == false) then return false; end
-- Zone -- Zone
if (id == 0x0A) then if (id == 0x0A) then

Loading…
Cancel
Save