mirror of
https://github.com/SmallJoker/boost_cart.git
synced 2024-11-23 15:13:44 +01:00
Early XMAS gift for those who can not install mods correctly
This commit is contained in:
parent
1b53ebd8e6
commit
6e01bf2bf9
5
init.lua
5
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),
|
||||
|
Loading…
Reference in New Issue
Block a user