summaryrefslogtreecommitdiff
path: root/worldedit_commands/cuboid.lua
diff options
context:
space:
mode:
authorDaniel Sosa <sosa.daniel23@gmail.com>2015-02-16 04:15:52 +0000
committerDaniel Sosa <sosa.daniel23@gmail.com>2016-07-03 21:44:02 -0500
commit48f3f59fc3b03e0114ef8070f59fd58b918cc253 (patch)
tree2c7685c6696d6982df7f1ad9ff2429047ee97d9f /worldedit_commands/cuboid.lua
parentf8f1f3b9cc28f78e60ce53d4966d6b288ee44156 (diff)
Implement some safety mechanisms
Diffstat (limited to 'worldedit_commands/cuboid.lua')
-rw-r--r--worldedit_commands/cuboid.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/worldedit_commands/cuboid.lua b/worldedit_commands/cuboid.lua
index 2a5a9fb..003b358 100644
--- a/worldedit_commands/cuboid.lua
+++ b/worldedit_commands/cuboid.lua
@@ -109,7 +109,7 @@ minetest.register_chatcommand("/shift", {
end
if axis == nil or dir == nil then
- return false, "Invalid"
+ return false, "Invalid if looking straight up or down"
end
assert(worldedit.cuboid_shift(name, axis, amount * dir))