diff --git a/Chat-Command-Reference.md b/Chat-Command-Reference.md index 87f05d3..a2410eb 100644 --- a/Chat-Command-Reference.md +++ b/Chat-Command-Reference.md @@ -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 diff --git a/worldeditadditions_commands/commands/measure/mtrig.lua b/worldeditadditions_commands/commands/measure/mtrig.lua index dc0be7c..90a28c4 100644 --- a/worldeditadditions_commands/commands/measure/mtrig.lua +++ b/worldeditadditions_commands/commands/measure/mtrig.lua @@ -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: "..