File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ function worldedit.player_axis(name)
70
70
return " z" , dir .z > 0 and 1 or - 1
71
71
end
72
72
73
- function worldedit . mkdir (path )
73
+ local function mkdir (path )
74
74
if minetest .mkdir then
75
75
minetest .mkdir (path )
76
76
else
@@ -895,7 +895,7 @@ minetest.register_chatcommand("/save", {
895
895
896
896
local path = minetest .get_worldpath () .. " /schems"
897
897
-- Create directory if it does not already exist
898
- worldedit . mkdir (path )
898
+ mkdir (path )
899
899
900
900
local filename = path .. " /" .. param .. " .we"
901
901
local file , err = io.open (filename , " wb" )
@@ -1063,7 +1063,7 @@ minetest.register_chatcommand("/mtschemcreate", {
1063
1063
1064
1064
local path = minetest .get_worldpath () .. " /schems"
1065
1065
-- Create directory if it does not already exist
1066
- worldedit . mkdir (path )
1066
+ mkdir (path )
1067
1067
1068
1068
local filename = path .. " /" .. param .. " .mts"
1069
1069
local ret = minetest .create_schematic (worldedit .pos1 [name ],
You can’t perform that action at this time.
0 commit comments