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