From a08ba2bb93d7683b619a0e6b0bf00e3afd614ae4 Mon Sep 17 00:00:00 2001
From: cx384 <cx384@proton.me>
Date: Mon, 22 Jan 2024 18:27:54 +0100
Subject: [PATCH] Get rid of deprecated metadata (#628)

---
 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