From 67463b76e2be1131aadf1105ad4ba9a3058b86af Mon Sep 17 00:00:00 2001 From: flux <25628292+fluxionary@users.noreply.github.com> Date: Mon, 24 Oct 2022 10:33:50 -0700 Subject: [PATCH] check futil version --- init.lua | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/init.lua b/init.lua index 58ba39c..376ef0d 100644 --- a/init.lua +++ b/init.lua @@ -2,10 +2,15 @@ local modname = minetest.get_current_modname() local modpath = minetest.get_modpath(modname) local S = minetest.get_translator(modname) +assert( + type(futil.version) == "number" and futil.version >= os.time({year = 2022, month = 10, day = 24}), + "please update futil" +) + book_runner = { author = "flux", license = "AGPL_v3", - version = {year = 2022, month = 9, day = 30}, + version = os.time({year = 2022, month = 9, day = 30}), fork = "flux", modname = modname,