1
0
mirror of https://github.com/Uberi/Minetest-WorldEdit.git synced 2024-12-24 17:50:40 +01:00

Remove outdated function check

This commit is contained in:
sfan5 2019-09-08 18:57:54 +02:00
parent 0edcd1a59d
commit ff53a71d58

View File

@ -15,14 +15,6 @@ local ver = {major=1, minor=2}
worldedit.version = ver worldedit.version = ver
worldedit.version_string = string.format("%d.%d", ver.major, ver.minor) worldedit.version_string = string.format("%d.%d", ver.major, ver.minor)
if not minetest.get_voxel_manip then
local err_msg = "This version of WorldEdit requires Minetest 0.4.8 or later! You have an old version."
minetest.log("error", string.rep("#", 128))
minetest.log("error", err_msg)
minetest.log("error", string.rep("#", 128))
error(err_msg)
end
local path = minetest.get_modpath(minetest.get_current_modname()) local path = minetest.get_modpath(minetest.get_current_modname())
local function load_module(path) local function load_module(path)