scale.lua: fix inconsistent whitespace

This commit is contained in:
Starbeamrainbowlabs 2021-07-30 18:05:45 +01:00
parent ecb846fcfe
commit 92451cf125
Signed by: sbrl
GPG key ID: 1BE5172E637709C2

View file

@ -37,7 +37,7 @@ worldedit.register_command("scale", {
if #parts == 2 then if #parts == 2 then
if not (parts[1] == "x" or parts[1] == "y" or parts[1] == "z" if not (parts[1] == "x" or parts[1] == "y" or parts[1] == "z"
or parts[1] == "-x" or parts[1] == "-y" or parts[1] == "-z") then or parts[1] == "-x" or parts[1] == "-y" or parts[1] == "-z") then
return false, "Error: Got 2 arguments, but the first doesn't look like the name of an axis." return false, "Error: Got 2 arguments, but the first doesn't look like the name of an axis."
end end
local axis = parts[1] local axis = parts[1]