Skip to content

Commit

Permalink
Add completion chat message to //expand and //contract
Browse files Browse the repository at this point in the history
  • Loading branch information
sfan5 committed Jul 4, 2016
1 parent 0b68b2a commit 2aed498
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion worldedit_commands/cuboid.lua
Expand Up @@ -129,7 +129,7 @@ minetest.register_chatcommand("/shift", {
assert(worldedit.cuboid_shift(name, axis, amount * dir))
worldedit.marker_update(name)

return true, "region shifted by " .. amount .. " nodes"
return true, "Region shifted by " .. amount .. " nodes"
end,
}
)
Expand Down Expand Up @@ -183,6 +183,7 @@ minetest.register_chatcommand("/expand", {
worldedit.cuboid_linear_expand(name, axis, dir, amount)
worldedit.cuboid_linear_expand(name, axis, -dir, rev_amount)
worldedit.marker_update(name)
return true, "Region expanded by " .. (amount + rev_amount) .. " nodes"
end,
}
)
Expand Down Expand Up @@ -236,6 +237,7 @@ minetest.register_chatcommand("/contract", {
worldedit.cuboid_linear_expand(name, axis, dir, -amount)
worldedit.cuboid_linear_expand(name, axis, -dir, -rev_amount)
worldedit.marker_update(name)
return true, "Region contracted by " .. (amount + rev_amount) .. " nodes"
end,
}
)

0 comments on commit 2aed498

Please sign in to comment.