File tree Expand file tree Collapse file tree
LabExtended/Commands/Custom/CustomTeams Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -24,9 +24,11 @@ public void List()
2424
2525 Ok ( x =>
2626 {
27+ x . AppendLine ( ) ;
28+
2729 foreach ( var pair in CustomTeamRegistry . RegisteredHandlers )
2830 {
29- x . AppendLine ( $ "- { pair . Key } : { pair . Value . Name ?? "(null)" } ") ;
31+ x . AppendLine ( $ "- { pair . Key . Name } : { pair . Value . Name ?? "(null)" } ") ;
3032 }
3133 } ) ;
3234 }
@@ -51,6 +53,8 @@ public void Waves(
5153
5254 Ok ( x =>
5355 {
56+ x . AppendLine ( ) ;
57+
5458 foreach ( var instance in instances )
5559 {
5660 x . AppendLine ( $ "- { instance . Id } : Remaining players: { instance . AlivePlayers . Count } (spawned { Mathf . CeilToInt ( instance . PassedTime ) } seconds ago)") ;
@@ -85,6 +89,7 @@ public void Wave(
8589
8690 Ok ( x =>
8791 {
92+ x . AppendLine ( ) ;
8893 x . AppendLine ( $ "ID: { instance . Id } ") ;
8994 x . AppendLine ( $ "Spawned At: { DateTime . Now . ToLocalTime ( ) . Subtract ( TimeSpan . FromSeconds ( instance . PassedTime ) ) . ToString ( "HH:mm:ss zz" ) } ") ;
9095 x . AppendLine ( $ "Active For: { Mathf . CeilToInt ( instance . PassedTime ) } seconds") ;
You can’t perform that action at this time.
0 commit comments