Skip to content

Commit

Permalink
Strict CLI
Browse files Browse the repository at this point in the history
  • Loading branch information
Konloch committed Oct 2, 2024
1 parent ba0411c commit a5f0aed
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -157,8 +157,7 @@ private void handleCLIDecompilation(CommandLine cmd)
public CLICommand getCommand(String name)
{
for(CLICommand command : COMMANDS)
if(command.name.equals(name)
|| command.nameFormatted.equals(name))
if(command.nameFormatted.equals(name))
return command;

return null;
Expand Down

0 comments on commit a5f0aed

Please sign in to comment.