From 21e044478e259efa202dce2c2e82afc342f07b90 Mon Sep 17 00:00:00 2001 From: SmallJoker <mk939@ymail.com> Date: Sat, 26 Nov 2022 23:25:33 +0100 Subject: [PATCH] Fix battery box charging issues caused by out of sync functions --- technic/init.lua | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/technic/init.lua b/technic/init.lua index 67291f2..7669faf 100644 --- a/technic/init.lua +++ b/technic/init.lua @@ -1,7 +1,11 @@ --- Minetest 0.4.7 mod: technic -- namespace: technic -- (c) 2012-2013 by RealBadAngel <mk@realbadangel.pl> +if not minetest.get_translator then + error("[technic] Your Minetest version is no longer supported." + .. " (version < 5.0.0)") +end + local load_start = os.clock() technic = rawget(_G, "technic") or {} -- Gitblit v1.8.0