1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2025-10-26 11:27:38 +00:00

Remove a couple of over-eager error logs

This commit is contained in:
SquidDev
2019-04-16 10:08:12 +01:00
parent 5a8a111857
commit 9e9f199e55
3 changed files with 8 additions and 6 deletions

View File

@@ -64,12 +64,11 @@ public final class IDAssigner
{
try
{
int number = Integer.parseInt( content );
id = Math.max( number + 1, id );
id = Math.max( Integer.parseInt( content ) + 1, id );
}
catch( NumberFormatException e )
catch( NumberFormatException ignored )
{
ComputerCraft.log.error( "Unexpected file '" + content + "' in '" + location.getAbsolutePath() + "'", e );
// Skip files which aren't numbers
}
}
}