From 2173c575a26529826cb5167395e7dca682ae2c9b Mon Sep 17 00:00:00 2001 From: KubaPro010 Date: Wed, 22 Apr 2026 20:17:04 +0200 Subject: [PATCH] ok --- scripts/98-uecp.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/98-uecp.lua b/scripts/98-uecp.lua index b04d4e9..33c77d8 100644 --- a/scripts/98-uecp.lua +++ b/scripts/98-uecp.lua @@ -236,7 +236,7 @@ end ---@param packet string function uecp.parse_uecp(packet) - local unstuffed = undo_byte_stuff(string.sub(packet, 2, #packet - 1)) + local unstuffed = undo_byte_stuff(string.sub(packet, 2)) local addr1 = string.byte(unstuffed, 1) local addr2 = string.byte(unstuffed, 2)