diff options
author | ShadowNinja <shadowninja@minetest.net> | 2014-07-06 17:39:20 -0400 |
---|---|---|
committer | ShadowNinja <shadowninja@minetest.net> | 2014-07-06 17:39:20 -0400 |
commit | 527812fa96b6c73c71c7a3bf8a48cb651ec90438 (patch) | |
tree | 1cfebd18d40c5334b4b5edb5802fb2cfb8e680f5 /init.lua | |
parent | 0d777362f37442ef17dd9d010d6755c84f835d9e (diff) |
Make waypoints optional and use external datastorage mod
This also fixes waypoints not showing up on join.
Diffstat (limited to 'init.lua')
-rw-r--r-- | init.lua | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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 + |