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
1 changed files with 2 additions and 0 deletions

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 loadmodule = function(path)