Skip to content

Commit 758517f

Browse files
Update TPToyPlayerMethod.cs
1 parent a6b9e15 commit 758517f

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

Code/MethodSystem/Methods/AdminToysMethods/TPToyPlayerMethod.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,10 @@ public class TPToyPlayerMethod : SynchronousMethod, IAdditionalDescription
1919
[
2020
new ReferenceArgument<AdminToy>("toy reference"),
2121
new PlayerArgument("player to teleport toy to"),
22-
new BoolArgument("align toy rotation to player?"),
22+
new BoolArgument("align toy rotation to player?")
23+
{
24+
DefaultValue = new(false, null)
25+
},
2326
];
2427

2528
public override void Execute()

0 commit comments

Comments
 (0)