unpack({}, 1, 1e10) returns result of coroutine.yield.
fatboychummy opened this issue ยท 1 comments
Useful information to include:
- Minecraft version: Seems to affect everything, including emulators
- CC: Tweaked version: See above (tested on 1.94 iirc, and whatever version I have on 1.12.2, and CC:Aide in MCCM)
Reproduction
If using the builtin Lua repl, simply typing unpack({}, 1, 1e10)
should freeze the game for a moment then return "key_up", keys.enter
.
If using the CC: Aide bot, run the following:
os.queueEvent("DummyEvent", 32, "Hello")
unpack({}, 1, 1e10)
Not sure exactly what is causing this, but it's quite interesting to note.