Skip to content

Commit

Permalink
Fix ClassNotFoundException on Omnibus
Browse files Browse the repository at this point in the history
  • Loading branch information
A248 committed Jan 16, 2021
1 parent b7195bf commit 7e326ba
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ private CompletableFuture<Dependency> readDependency(String simpleDependencyName
*/
private void addApiDeps(DependencyLoaderBuilder loader) {
CompletableFuture<Dependency> selfApi = readDependency("self-api");
if (classForName("space.arim.omnibus.Omnibus") != null) {
if (classForName("space.arim.omnibus.Omnibus") == null) {
loader.addDependencyPair(readDependency0("omnibus"), Repositories.ARIM_LESSER_GPL3);
}
if (!skipSelfDependencies()) {
Expand Down

0 comments on commit 7e326ba

Please sign in to comment.