Move wand.lua to worldedit_commands

This commit is contained in:
sfan5 2016-12-10 21:43:38 +01:00
parent 15f0cea72e
commit f9311b2b15
3 changed files with 2 additions and 2 deletions

View File

@ -36,7 +36,6 @@ load_module(path .. "/visualization.lua")
load_module(path .. "/serialization.lua")
load_module(path .. "/code.lua")
load_module(path .. "/compatibility.lua")
load_module(path .. "/wand.lua")
load_module(path .. "/cuboid.lua")

View File

@ -12,6 +12,7 @@ end
dofile(minetest.get_modpath("worldedit_commands") .. "/cuboid.lua")
dofile(minetest.get_modpath("worldedit_commands") .. "/mark.lua")
dofile(minetest.get_modpath("worldedit_commands") .. "/wand.lua")
local safe_region, check_region = dofile(minetest.get_modpath("worldedit_commands") .. "/safe.lua")
local function get_position(name) --position 1 retrieval function for when not using `safe_region`

View File

@ -1,4 +1,4 @@
minetest.register_tool("worldedit:wand", {
minetest.register_tool(":worldedit:wand", {
description = "WorldEdit Wand tool, Left-click to set 1st position, right-click to set 2nd",
inventory_image = "worldedit_wand.png",
stack_max = 1, -- there is no need to have more than one