Skip to content

Commit 04f3634

Browse files
Update DocsProvider.cs
1 parent 88cd080 commit 04f3634

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

Code/Plugin/Commands/HelpSystem/DocsProvider.cs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -548,14 +548,14 @@ public static string GetMethodHelp(Method method, FrameworkBridge.Type? notLoade
548548
if (argument.DefaultValue is { } defVal)
549549
{
550550
sb.AppendLine($" - Default value/behavior: {defVal.StringRep ?? defVal.Value?.ToString() ?? "<unknown>"}");
551-
sb.AppendLine(" (if needed, you can skip providing this argument by using '_' character)");
551+
sb.AppendLine(" (you can skip providing this argument by using '_' character)");
552552
}
553553

554554
if (argument.ConsumesRemainingValues)
555555
{
556556
sb.AppendLine(
557557
" - This argument consumes all remaining values; this means that every value provided AFTER " +
558-
"this one will ALSO count towards this argument's values.");
558+
"this one will also count towards THIS argument's values.");
559559
}
560560
}
561561

@@ -590,8 +590,7 @@ public static string GetPropertiesHelpPage()
590590
Syntax:
591591
$hp = @player -> hp - Accesses 'hp' property of a player variable.
592592
$type = *item -> type - Accesses 'type' property of a reference variable.
593-
$key = *json -> someKey - Accesses 'someKey' from a JSON object.
594-
$isPrefab = *item -> !isPrefab - Unsafe access to a C# member using '!' prefix.
593+
$key = *json -> someKey - Accesses 'someKey' from a JSON object.
595594
596595
Print {@sender -> name} - You can use {} brackets to contain the expression into a single argument.
597596

0 commit comments

Comments
 (0)