summaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua6
1 files changed, 4 insertions, 2 deletions
diff --git a/init.lua b/init.lua
index 0542e36..e1d2c02 100644
--- a/init.lua
+++ b/init.lua
@@ -38,7 +38,6 @@ if creative_inventory then
end
end
-dofile(modpath.."/datastorage.lua")
dofile(modpath.."/group.lua")
dofile(modpath.."/api.lua")
dofile(modpath.."/internal.lua")
@@ -46,4 +45,7 @@ dofile(modpath.."/callbacks.lua")
dofile(modpath.."/register.lua")
dofile(modpath.."/bags.lua")
dofile(modpath.."/item_names.lua")
-dofile(modpath.."/waypoints.lua")
+if minetest.get_modpath("datastorage") then
+ dofile(modpath.."/waypoints.lua")
+end
+