diff --git a/chatmon.lua b/chatmon.lua index 8307090..0a574af 100644 --- a/chatmon.lua +++ b/chatmon.lua @@ -25,7 +25,7 @@ _addon.author = 'atom0s'; _addon.name = 'Chatmon'; -_addon.version = '3.0.0'; +_addon.version = '3.0.1'; require 'common' @@ -404,7 +404,7 @@ ashita.register_event('incoming_packet', function(id, size, packet) -- Incoming emote.. if (id == 0x5A) then local target = struct.unpack('H', packet, 0x08 + 1); - if (GetPlayerEntity().ServerID == target) then + if (GetPlayerEntity().ServerId == target) then if ((os.time() - chatmon.emote_last_alert) >= alert_delay('emote')) then chatmon.emote_last_alert = os.time(); play_alert_sound('emote');