mirror of
https://github.com/TuxCoding/FastLogin.git
synced 2025-07-29 18:27:36 +02:00
Use org.slf4j.Logger directly
This commit is contained in:
@ -70,15 +70,16 @@
|
||||
<pattern>com.zaxxer.hikari</pattern>
|
||||
<shadedPattern>fastlogin.hikari</shadedPattern>
|
||||
</relocation>
|
||||
<relocation>
|
||||
<pattern>org.slf4j</pattern>
|
||||
<shadedPattern>fastlogin.slf4j</shadedPattern>
|
||||
</relocation>
|
||||
<relocation>
|
||||
<pattern>net.md_5.bungee.config</pattern>
|
||||
<shadedPattern>fastlogin.config</shadedPattern>
|
||||
</relocation>
|
||||
</relocations>
|
||||
<artifactSet>
|
||||
<excludes>
|
||||
<exclude>org.slf4j:*</exclude>
|
||||
</excludes>
|
||||
</artifactSet>
|
||||
</configuration>
|
||||
<executions>
|
||||
<execution>
|
||||
|
@ -72,9 +72,9 @@ public class FastLoginVelocity implements PlatformPlugin<CommandSource> {
|
||||
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.");
|
||||
}
|
||||
|
Reference in New Issue
Block a user