Skip to content

Commit cbd2a46

Browse files
Fix providing invalid timespan in /restart showing syntax for /shutdown
1 parent 197e0a8 commit cbd2a46

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fCraft/Commands/MaintenanceCommands.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -897,7 +897,7 @@ static void RestartHandler( Player player, CommandReader cmd ) {
897897
}
898898
return;
899899
} else if( !delayString.TryParseMiniTimespan( out delayTime ) ) {
900-
CdShutdown.PrintUsage( player );
900+
CdRestart.PrintUsage( player );
901901
return;
902902
}
903903
if( delayTime > DateTimeUtil.MaxTimeSpan ) {

0 commit comments

Comments
 (0)