summaryrefslogtreecommitdiff
path: root/boost_cart/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'boost_cart/init.lua')
-rw-r--r--boost_cart/init.lua7
1 files changed, 0 insertions, 7 deletions
diff --git a/boost_cart/init.lua b/boost_cart/init.lua
index b9e0c67..9bcd785 100644
--- a/boost_cart/init.lua
+++ b/boost_cart/init.lua
@@ -16,13 +16,6 @@ boost_cart.speed_max = tonumber(setting_getter("boost_cart.speed_max")) or 10
-- Set to -1 to disable punching the cart from inside
boost_cart.punch_speed_max = tonumber(setting_getter("boost_cart.punch_speed_max")) or 7
-
-if not boost_cart.modpath then
- -- For Minetest 0.4.12 and older that don't look at the "mod.conf" file
- error("\nWrong mod directory name! Please change it to 'boost_cart'.\n" ..
- "See also: http://dev.minetest.net/Installing_Mods")
-end
-
-- Support for non-default games
if not default.player_attached then
default.player_attached = {}