Skip to content
Permalink
Browse files

Fix providing invalid timespan in /restart showing syntax for /shutdown

  • Loading branch information...
UnknownShadow200 committed Sep 29, 2017
1 parent 197e0a8 commit cbd2a46195d3496b2848bbfa634ea6b01fccda58
Showing with 1 addition and 1 deletion.
  1. +1 −1 fCraft/Commands/MaintenanceCommands.cs
@@ -897,7 +897,7 @@ static void SaveHandler(Player player, CommandReader cmd)
}
return;
} else if( !delayString.TryParseMiniTimespan( out delayTime ) ) {
CdShutdown.PrintUsage( player );
CdRestart.PrintUsage( player );
return;
}
if( delayTime > DateTimeUtil.MaxTimeSpan ) {

0 comments on commit cbd2a46

Please sign in to comment.
You can’t perform that action at this time.