@@ -129,7 +129,7 @@ minetest.register_chatcommand("/shift", {
129
129
assert (worldedit .cuboid_shift (name , axis , amount * dir ))
130
130
worldedit .marker_update (name )
131
131
132
- return true , " region shifted by " .. amount .. " nodes"
132
+ return true , " Region shifted by " .. amount .. " nodes"
133
133
end ,
134
134
}
135
135
)
@@ -183,6 +183,7 @@ minetest.register_chatcommand("/expand", {
183
183
worldedit .cuboid_linear_expand (name , axis , dir , amount )
184
184
worldedit .cuboid_linear_expand (name , axis , - dir , rev_amount )
185
185
worldedit .marker_update (name )
186
+ return true , " Region expanded by " .. (amount + rev_amount ) .. " nodes"
186
187
end ,
187
188
}
188
189
)
@@ -236,6 +237,7 @@ minetest.register_chatcommand("/contract", {
236
237
worldedit .cuboid_linear_expand (name , axis , dir , - amount )
237
238
worldedit .cuboid_linear_expand (name , axis , - dir , - rev_amount )
238
239
worldedit .marker_update (name )
240
+ return true , " Region contracted by " .. (amount + rev_amount ) .. " nodes"
239
241
end ,
240
242
}
241
243
)
0 commit comments