mirror of
https://github.com/joe7575/techpack.git
synced 2025-04-16 23:19:59 +02:00
tubelib2 check added
This commit is contained in:
@ -93,6 +93,9 @@ minetest.register_craft({
|
|||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
|
if tubelib2.version < 0.8 then
|
||||||
|
minetest.log("error", "TechPack/Tubelib requires tubelib2 version 0.8 or newer!!!")
|
||||||
|
else
|
||||||
dofile(minetest.get_modpath("tubelib") .. "/tubes.lua")
|
dofile(minetest.get_modpath("tubelib") .. "/tubes.lua")
|
||||||
dofile(minetest.get_modpath("tubelib") .. "/command.lua")
|
dofile(minetest.get_modpath("tubelib") .. "/command.lua")
|
||||||
-- conversion from v1.16 to v2.00
|
-- conversion from v1.16 to v2.00
|
||||||
@ -109,4 +112,4 @@ dofile(minetest.get_modpath("tubelib") .. "/repairkit.lua")
|
|||||||
dofile(minetest.get_modpath("tubelib") .. "/mark.lua")
|
dofile(minetest.get_modpath("tubelib") .. "/mark.lua")
|
||||||
dofile(minetest.get_modpath("tubelib") .. "/forceload.lua")
|
dofile(minetest.get_modpath("tubelib") .. "/forceload.lua")
|
||||||
dofile(minetest.get_modpath("tubelib") .. "/basalt.lua")
|
dofile(minetest.get_modpath("tubelib") .. "/basalt.lua")
|
||||||
|
end
|
||||||
|
Reference in New Issue
Block a user