Skip to content

Commit eb75148

Browse files
Update RunningScriptsCommand.cs
1 parent 303ecd0 commit eb75148

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Code/Plugin/Commands/RunningScriptsCommand.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
using CommandSystem;
22
using LabApi.Features.Permissions;
3+
using SER.Code.Extensions;
34
using SER.Code.Plugin.Commands.Interfaces;
45
using SER.Code.ScriptSystem;
56

@@ -17,7 +18,7 @@ public bool Execute(ArraySegment<string> arguments, ICommandSender sender, out s
1718
return false;
1819
}
1920

20-
response = $"There are {Script.RunningScripts.Count} running scripts"
21+
response = $"There are {Script.RunningScripts.Len} running scripts"
2122
+ Script.RunningScripts
2223
.Select(s => s.Name)
2324
.Aggregate(string.Empty, (a, b) => $"{a}\n> {b}");

0 commit comments

Comments
 (0)