diff --git a/tubelib/init.lua b/tubelib/init.lua index 6f52324..8c87414 100644 --- a/tubelib/init.lua +++ b/tubelib/init.lua @@ -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")