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:
@@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user