Early XMAS gift for those who can not install mods correctly

This commit is contained in:
SmallJoker 2015-11-13 23:11:08 +01:00
parent 1b53ebd8e6
commit 6e01bf2bf9

View File

@ -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),