From 8399b113223372dc47a2458fccfa3a77f2c17c74 Mon Sep 17 00:00:00 2001 From: Redo Date: Mon, 8 Dec 2025 11:49:23 -0500 Subject: [PATCH] fix table.empty, from auios --- BlockLua.dll | Bin 379980 -> 379980 bytes src/util/std.lua | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/BlockLua.dll b/BlockLua.dll index e50fcb0886aa87405e149e92442cdbdd372bf20d..fbda41174375d9563589e8f3526f9ad7ac6d03d4 100644 GIT binary patch delta 56 zcmX>zL;TDP@d+KwM*qzwcKb4Kna;NH_WKY<+vd}u?WaQ-ftU%1nYW(~WwGo7soKu| IgvIp*0MgbNzyJUM delta 56 zcmX>zL;TDP@d+Kwx|>ZWcKb5F{Li}a_WKaVy5`fN?WaQ-ftU%1nYW(~WwGo7soKu| IgvIp*0O6b%`2YX_ diff --git a/src/util/std.lua b/src/util/std.lua index 16a2d92..da1d5bf 100644 --- a/src/util/std.lua +++ b/src/util/std.lua @@ -5,7 +5,7 @@ -- Table / List -- Whether a table contains no keys function table.empty(t) - return next(t)~=nil + return next(t)==nil end -- Apply a function to each key in a table function table.map(f, ...)