mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2024-11-28 05:35:26 +01:00
Fix slf4j loading (#1224)
This commit is contained in:
parent
834649b390
commit
5b1229c882
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user