Skip to content

Commit

Permalink
Fix /zedit [zone] -[your own name] confusingly saying 'no players found'
Browse files Browse the repository at this point in the history
  • Loading branch information
UnknownShadow200 committed Oct 6, 2018
1 parent d44f576 commit 5bc27e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fCraft/Commands/ZoneCommands.cs
Expand Up @@ -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)
Expand Down

0 comments on commit 5bc27e8

Please sign in to comment.