mirror of
https://github.com/appgurueu/modlib.git
synced 2024-11-22 23:33:53 +01:00
Updates via shellscript
This commit is contained in:
parent
4e89baa7f5
commit
11d68ea8b5
2
init.lua
2
init.lua
@ -20,7 +20,7 @@ if mt.version.project == "Minetest" then
|
|||||||
error("Outdated Minetest version ! modlib requires Minetest 0.4 or greater.")
|
error("Outdated Minetest version ! modlib requires Minetest 0.4 or greater.")
|
||||||
end
|
end
|
||||||
if mt.version.string > "5.1" then
|
if mt.version.string > "5.1" then
|
||||||
error("Too new Minetest version ! modlib requires Minetest 5.1 or smaller.")
|
--error("Too new Minetest version ! modlib requires Minetest 5.1 or smaller.")
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
--error("No Minetest provided ! Modlib requires Minetest instead of "..mt.version.project..".")
|
--error("No Minetest provided ! Modlib requires Minetest instead of "..mt.version.project..".")
|
||||||
|
Loading…
Reference in New Issue
Block a user