From 268c70bc514fe6d58aa9fdda993ac55fa311353f Mon Sep 17 00:00:00 2001 From: juanmuscaria Date: Wed, 15 Sep 2021 13:54:28 -0300 Subject: [PATCH] Use org.slf4j.Logger directly --- velocity/pom.xml | 9 +++++---- .../games647/fastlogin/velocity/FastLoginVelocity.java | 4 ++-- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/velocity/pom.xml b/velocity/pom.xml index 1e111a9a..7248110e 100644 --- a/velocity/pom.xml +++ b/velocity/pom.xml @@ -70,15 +70,16 @@ com.zaxxer.hikari fastlogin.hikari - - org.slf4j - fastlogin.slf4j - net.md_5.bungee.config fastlogin.config + + + org.slf4j:* + + diff --git a/velocity/src/main/java/com/github/games647/fastlogin/velocity/FastLoginVelocity.java b/velocity/src/main/java/com/github/games647/fastlogin/velocity/FastLoginVelocity.java index 888ed008..8a38968d 100644 --- a/velocity/src/main/java/com/github/games647/fastlogin/velocity/FastLoginVelocity.java +++ b/velocity/src/main/java/com/github/games647/fastlogin/velocity/FastLoginVelocity.java @@ -72,9 +72,9 @@ public class FastLoginVelocity implements PlatformPlugin { private AsyncScheduler scheduler; @Inject - public FastLoginVelocity(ProxyServer server, java.util.logging.Logger logger, @DataDirectory Path dataDirectory) { + public FastLoginVelocity(ProxyServer server, Logger logger, @DataDirectory Path dataDirectory) { this.server = server; - this.logger = CommonUtil.createLoggerFromJDK(logger); + this.logger = logger; this.dataDirectory = dataDirectory; logger.info("FastLogin velocity."); }