We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b2f94ee commit 05833a2Copy full SHA for 05833a2
worldeditadditions_core/utils/io/init.lua
@@ -1,3 +1,4 @@
1
+local weac = worldeditadditions_core
2
3
--- Functions to abstract file I/O away.
4
-- I'm very suspicious of Minetest's API changing from under our feet.
@@ -18,6 +19,6 @@ local io = {
18
19
20
--- World-specific directory to store WorldEditAdditions data in.
21
-- @value string
-worldeditadditions_core.data_dir = dofile(localpath .. "wea_data_dir.lua");
22
+weac.data_dir = dofile(weac.modpath .. "/utils/io/wea_data_dir.lua");
23
24
return io
0 commit comments