mirror of
https://github.com/brues-code/ClassicAPI.git
synced 2026-11-16 16:10:36 +00:00
luaX_setinput skips a first line starting with `#` (0x006FF5CD). The transpiler read that `#` as the length operator and put its preamble in front of the line, so the engine no longer skipped it. SkippedHead now covers the BOM plus that line; only the rest is transpiled, and the head is put back ahead of the preamble, which starts line 2. Also drop the 0x1B bytecode pass-through: this client never undumps (lua_load always takes the parser), so it could never matter.