1
0
mirror of https://github.com/Uberi/Minetest-WorldEdit.git synced 2024-12-26 02:30:40 +01:00

Add version checker since so many people are confused about which version to use.

This commit is contained in:
Anthony Zhang 2013-08-06 16:28:05 -04:00
parent 8bd5db51b2
commit 03327a767d

View File

@ -1,3 +1,5 @@
assert(minetest.get_voxel_manip, string.rep(">", 300) .. "HEY YOU! YES, YOU OVER THERE. THIS VERSION OF WORLDEDIT REQUIRES MINETEST 0.4.8 OR LATER! YOU HAVE AN OLD VERSION." .. string.rep("<", 300))
local path = minetest.get_modpath(minetest.get_current_modname()) local path = minetest.get_modpath(minetest.get_current_modname())
local loadmodule = function(path) local loadmodule = function(path)