mirror of
https://github.com/Uberi/Minetest-WorldEdit.git
synced 2025-07-05 01:20:34 +02:00
Remove ignore list and fix many warnings
This commit is contained in:
@ -26,8 +26,13 @@ end
|
||||
|
||||
function worldedit.metaload(originpos, filename)
|
||||
deprecated("load")
|
||||
|
||||
local file = io.open(filename, "wb")
|
||||
filename = minetest.get_worldpath() .. "/schems/" .. file .. ".wem"
|
||||
local file, err = io.open(filename, "wb")
|
||||
file = io.open(filename, "wb")
|
||||
|
||||
local err = io.open(filename, "wb")
|
||||
|
||||
if err then return 0 end
|
||||
local data = file:read("*a")
|
||||
return worldedit.deserialize(originpos, data)
|
||||
|
Reference in New Issue
Block a user