mirror of
https://github.com/joe7575/techpack.git
synced 2024-11-26 00:53:44 +01:00
Improve version check
This commit is contained in:
parent
6d2dea727d
commit
e1f9a8d4f6
@ -98,7 +98,7 @@ minetest.register_craft({
|
||||
|
||||
|
||||
if tubelib2.version < 2.0 then
|
||||
minetest.log("error", "TechPack/Tubelib requires tubelib2 version 2.0 or newer!!!")
|
||||
error("TechPack/Tubelib requires tubelib2 version 2.0 or newer!!!")
|
||||
else
|
||||
dofile(minetest.get_modpath("tubelib") .. "/tubes.lua")
|
||||
dofile(minetest.get_modpath("tubelib") .. "/command.lua")
|
||||
|
Loading…
Reference in New Issue
Block a user