diff options
author | Daniel Sosa <sosa.daniel23@gmail.com> | 2015-02-16 02:33:11 +0000 |
---|---|---|
committer | Daniel Sosa <sosa.daniel23@gmail.com> | 2016-07-03 21:44:02 -0500 |
commit | fad021d0ba40f3336e0770587b40811894cfb4a7 (patch) | |
tree | 2a486c0efebc3a991b55000f0dde1c0f52ef382f | |
parent | f1fe0c6bba883f1f547fb08b0e944878ce4293bf (diff) |
Remove some debug code
-rw-r--r-- | worldedit_commands/cuboid.lua | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/worldedit_commands/cuboid.lua b/worldedit_commands/cuboid.lua index 6ea1ffc..4712659 100644 --- a/worldedit_commands/cuboid.lua +++ b/worldedit_commands/cuboid.lua @@ -82,14 +82,12 @@ minetest.register_chatcommand("/inset", { minetest.register_chatcommand("/shift", { --- params = "<amount> [up|down|left|right|front|back]", params = "[x|y|z|?|up|down|left|right|front|back] [+|-]<amount>", description = "Moves the selection region. Does not move contents.", privs = {worldedit=true}, func = function(name, param) local pos1 = worldedit.pos1[name] local pos2 = worldedit.pos2[name] --- local find, _, amount, direction = param:find("(%d+)%s*(%l*)") local find, _, direction, amount = param:find("([%?%l]+)%s*([+-]?%d+)") if find == nil then @@ -97,8 +95,6 @@ minetest.register_chatcommand("/shift", { return end - worldedit.player_notify(name, "direction = " .. direction .. " amount = " .. amount) - if pos1 == nil or pos2 == nil then worldedit.player_notify(name, "Undefined region. Region must be defined beforehand.") |