Fix typos in mtools

Co-authored-by: Starbeamrainbowlabs <sbrl@starbeamrainbowlabs.com>
This commit is contained in:
VorTechnix 2021-07-15 13:44:56 -07:00 committed by GitHub
parent a06413977e
commit 0ad0c63def
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View File

@ -789,6 +789,7 @@ Alias for [`//count`](#count).
## `//mface`
Returns the horizontal (X/Z) axis or axes the player is looking along.
Aliases: `//mfacing`.
```
//mface
@ -809,7 +810,7 @@ Returns the lengths of the current selection on the X, Y and Z axes.
```
## `//mtrig`
Returns the length of the diagonal pos1,pos2 and it's angle on the XZ and h/Y axes.
Returns the length of the diagonal from pos1 to pos2 and its angle on the XZ (horizontal) and Y (vertical) axes.
```
//mtrig

View File

@ -14,7 +14,7 @@ worldedit.register_command("mtrig", {
return true
end,
func = function(name, params_text)
local str = "The measurements of the line pos1,pos2 are Length (D): "
local str = "The measurements of the line from pos1 to pos2 are Length (D): "
local vec = v3.subtract(worldedit.pos2[name],worldedit.pos1[name]):abs()
local len = vec:length()
str = str..wea.round(len, 4)..", ∠XZ: "..