1
0
mirror of https://github.com/SmallJoker/boost_cart.git synced 2024-12-25 18:30:19 +01:00

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.modpath = minetest.get_modpath("boost_cart")
boost_cart.speed_max = 10 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) function vector.floor(v)
return { return {
x = math.floor(v.x), x = math.floor(v.x),