]> git.lizzy.rs Git - worldedit.git/commitdiff
Add version checker since so many people are confused about which version to use.
authorAnthony Zhang <azhang9@gmail.com>
Tue, 6 Aug 2013 20:28:05 +0000 (16:28 -0400)
committerAnthony Zhang <azhang9@gmail.com>
Tue, 6 Aug 2013 20:28:05 +0000 (16:28 -0400)
worldedit/init.lua

index 02c3494a80cd66d2489696a4439ebdf5b9fb1301..1f16a5ff4c8935fc93e7082c40d9e51f468c289c 100644 (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))\r
+\r
 local path = minetest.get_modpath(minetest.get_current_modname())\r
 \r
 local loadmodule = function(path)\r