mirror of
https://github.com/Uberi/Minetest-WorldEdit.git
synced 2025-07-13 21:30:26 +02:00
Fix many, many warnings
This commit is contained in:
@ -15,8 +15,6 @@ local ver = {major=1, minor=2}
|
||||
worldedit.version = ver
|
||||
worldedit.version_string = string.format("%d.%d", ver.major, ver.minor)
|
||||
|
||||
local path = minetest.get_modpath(minetest.get_current_modname())
|
||||
|
||||
local function load_module(path)
|
||||
local file = io.open(path, "r")
|
||||
if not file then return end
|
||||
@ -24,6 +22,8 @@ local function load_module(path)
|
||||
return dofile(path)
|
||||
end
|
||||
|
||||
local path = minetest.get_modpath(minetest.get_current_modname())
|
||||
|
||||
dofile(path .. "/common.lua")
|
||||
load_module(path .. "/manipulations.lua")
|
||||
load_module(path .. "/primitives.lua")
|
||||
|
Reference in New Issue
Block a user