1
0
Fork 0
mirror of https://github.com/xHyroM/lighteco.git synced 2024-11-21 22:41:06 +01:00

feat(currency-money): use SLF4J logger again

This commit is contained in:
Jozef Steinhübl 2023-08-30 10:33:32 +02:00
parent f6fa8ad8f2
commit 8720610db4

View file

@ -7,8 +7,6 @@ import dev.xhyrom.lighteco.api.manager.CurrencyManager;
import dev.xhyrom.lighteco.api.model.currency.Currency; import dev.xhyrom.lighteco.api.model.currency.Currency;
import dev.xhyrom.lighteco.currency.money.bukkit.hooks.vault.VaultFactory; import dev.xhyrom.lighteco.currency.money.bukkit.hooks.vault.VaultFactory;
import dev.xhyrom.lighteco.currency.money.common.MoneyCurrency; import dev.xhyrom.lighteco.currency.money.common.MoneyCurrency;
import org.bukkit.Bukkit;
import org.bukkit.entity.Player;
import org.bukkit.plugin.java.JavaPlugin; import org.bukkit.plugin.java.JavaPlugin;
import java.util.UUID; import java.util.UUID;
@ -28,7 +26,7 @@ public class BukkitMCLoader extends JavaPlugin {
commandManager.registerCurrencyCommand(currency, true); commandManager.registerCurrencyCommand(currency, true);
if (getServer().getPluginManager().getPlugin("Vault") != null) { if (getServer().getPluginManager().getPlugin("Vault") != null) {
getLogger().info("Vault found, hooking..."); getSLF4JLogger().info("Vault found, hooking...");
this.vaultFactory = new VaultFactory(this); this.vaultFactory = new VaultFactory(this);
this.vaultFactory.hook(); this.vaultFactory.hook();