From 6e01bf2bf94988a20182c8594cb333a5fae0a42e Mon Sep 17 00:00:00 2001 From: SmallJoker Date: Fri, 13 Nov 2015 23:11:08 +0100 Subject: [PATCH] Early XMAS gift for those who can not install mods correctly --- init.lua | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/init.lua b/init.lua index 0d42f58..05049ef 100644 --- a/init.lua +++ b/init.lua @@ -5,6 +5,11 @@ boost_cart = {} boost_cart.modpath = minetest.get_modpath("boost_cart") boost_cart.speed_max = 10 +if not boost_cart.modpath then + error("\nWrong mod directory name! Please change it to 'boost_cart'.\n" .. + "See also: http://dev.minetest.net/Installing_Mods") +end + function vector.floor(v) return { x = math.floor(v.x),