forked from mtcontrib/Minetest-WorldEdit
Implement some safety mechanisms
This commit is contained in:
@ -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))
|
||||
|
Reference in New Issue
Block a user