From 5b1229c8829b472054d563e3ea36be7ce1ee9f32 Mon Sep 17 00:00:00 2001 From: Luck Date: Thu, 20 Sep 2018 21:17:00 +0100 Subject: [PATCH] Fix slf4j loading (#1224) --- .../lucko/luckperms/common/dependencies/DependencyRegistry.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/src/main/java/me/lucko/luckperms/common/dependencies/DependencyRegistry.java b/common/src/main/java/me/lucko/luckperms/common/dependencies/DependencyRegistry.java index 0ad586038..2fdf5da80 100644 --- a/common/src/main/java/me/lucko/luckperms/common/dependencies/DependencyRegistry.java +++ b/common/src/main/java/me/lucko/luckperms/common/dependencies/DependencyRegistry.java @@ -77,7 +77,7 @@ public class DependencyRegistry { } // don't load slf4j if it's already present - if (dependencies.contains(Dependency.SLF4J_API) || dependencies.contains(Dependency.SLF4J_SIMPLE) && slf4jPresent()) { + if ((dependencies.contains(Dependency.SLF4J_API) || dependencies.contains(Dependency.SLF4J_SIMPLE)) && slf4jPresent()) { dependencies.remove(Dependency.SLF4J_API); dependencies.remove(Dependency.SLF4J_SIMPLE); }