From d50feb89debf209a11426b2e8f44d90d64ed6cc2 Mon Sep 17 00:00:00 2001 From: ANAND Date: Sun, 17 Mar 2019 14:55:47 +0530 Subject: [PATCH] core.after: Improve assertion message (#8388) --- builtin/common/after.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builtin/common/after.lua b/builtin/common/after.lua index cdfaaab86..1bed2d31f 100644 --- a/builtin/common/after.lua +++ b/builtin/common/after.lua @@ -23,7 +23,7 @@ end) function core.after(after, func, ...) assert(tonumber(after) and type(func) == "function", - "Invalid core.after invocation") + "Invalid minetest.after invocation") jobs[#jobs + 1] = { func = func, expire = time + after, -- 2.25.1