mirror of
https://github.com/fluxionary/minetest-book_runner.git
synced 2025-03-21 15:21:22 +00:00
check futil version
This commit is contained in:
parent
cee41f01fd
commit
67463b76e2
1 changed files with 6 additions and 1 deletions
7
init.lua
7
init.lua
|
@ -2,10 +2,15 @@ local modname = minetest.get_current_modname()
|
||||||
local modpath = minetest.get_modpath(modname)
|
local modpath = minetest.get_modpath(modname)
|
||||||
local S = minetest.get_translator(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 = {
|
book_runner = {
|
||||||
author = "flux",
|
author = "flux",
|
||||||
license = "AGPL_v3",
|
license = "AGPL_v3",
|
||||||
version = {year = 2022, month = 9, day = 30},
|
version = os.time({year = 2022, month = 9, day = 30}),
|
||||||
fork = "flux",
|
fork = "flux",
|
||||||
|
|
||||||
modname = modname,
|
modname = modname,
|
||||||
|
|
Loading…
Add table
Reference in a new issue