rs: Move this catch to its own catch
This commit is contained in:
@@ -69,14 +69,16 @@ public class ClientLoader
|
||||
return null;
|
||||
}
|
||||
}
|
||||
catch (IOException | ClassNotFoundException | InstantiationException | IllegalAccessException e)
|
||||
catch (IOException | InstantiationException | IllegalAccessException e)
|
||||
{
|
||||
if (e instanceof ClassNotFoundException)
|
||||
{
|
||||
log.error("Unable to load client - class not found. This means you"
|
||||
+ " are not running RuneLite with Maven as the injected client"
|
||||
+ " is not in your classpath.");
|
||||
}
|
||||
log.error("Error loading RS!", e);
|
||||
return null;
|
||||
}
|
||||
catch (ClassNotFoundException e)
|
||||
{
|
||||
log.error("Unable to load client - class not found. This means you"
|
||||
+ " are not running RuneLite with Maven as the injected client"
|
||||
+ " is not in your classpath.");
|
||||
|
||||
log.error("Error loading RS!", e);
|
||||
return null;
|
||||
|
||||
Reference in New Issue
Block a user