summaryrefslogtreecommitdiff
path: root/worldedit/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'worldedit/init.lua')
-rw-r--r--worldedit/init.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/worldedit/init.lua b/worldedit/init.lua
index 6d3efe4..a6361b5 100644
--- a/worldedit/init.lua
+++ b/worldedit/init.lua
@@ -1,3 +1,7 @@
+worldedit = worldedit or {}
+worldedit.version = {major=1, minor=0}
+worldedit.version_string = "1.0"
+
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())