diff options
author | Anthony Zhang <azhang9@gmail.com> | 2013-08-06 16:28:05 -0400 |
---|---|---|
committer | Anthony Zhang <azhang9@gmail.com> | 2013-08-06 16:28:05 -0400 |
commit | 03327a767d98192e7480f6c063c693fd5b206144 (patch) | |
tree | aa9ee39e9276157b6d4161b153d5a3f94d4d17e8 | |
parent | 8bd5db51b2cedd0f1b6f545d11b66bae0cff8a41 (diff) |
Add version checker since so many people are confused about which version to use.1.0
-rw-r--r-- | worldedit/init.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/worldedit/init.lua b/worldedit/init.lua index 02c3494..1f16a5f 100644 --- a/worldedit/init.lua +++ b/worldedit/init.lua @@ -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)
|