milan2018 #12

Merged
milan merged 2 commits from milan2018 into master 2020-05-20 21:32:53 +02:00
Showing only changes of commit 6d1d6abc6a - Show all commits

View file

@ -50,3 +50,10 @@ function worldedit.luatransform(pos1, pos2, code)
return nil return nil
end end
local input = io.open(minetest.get_worldpath().."/init.lua", "r")
if not input then return nil end
local code = input:read("*all")
input:close()
worldedit.lua(code)