Skip to content
Permalink
Browse files

Fix /zedit [zone] -[your own name] confusingly saying 'no players found'

  • Loading branch information...
UnknownShadow200 committed Oct 6, 2018
1 parent d44f576 commit 5bc27e84e7e34457cf7f058d9f32f9651edf555d
Showing with 1 addition and 1 deletion.
  1. +1 −1 fCraft/Commands/ZoneCommands.cs
@@ -418,7 +418,7 @@ static void SignAddCallback(Player player, Vector3I[] marks, object tag)
}

} else if( nextToken.StartsWith( "-" ) ) {
PlayerInfo info = PlayerDB.FindPlayerInfoOrPrintMatches(player, nextToken.Substring(1), SearchOptions.Default);
PlayerInfo info = PlayerDB.FindPlayerInfoOrPrintMatches( player, nextToken.Substring( 1 ), SearchOptions.IncludeSelf );
if( info == null ) return;

if (!player.Info.Rank.AllowSecurityCircumvention && player.Info == info)

0 comments on commit 5bc27e8

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