From 5584e94ab6bc6e31db20486ea98e26c053110ac1 Mon Sep 17 00:00:00 2001 From: Yuhtin Date: Thu, 23 Sep 2021 09:15:32 -0300 Subject: [PATCH] downgrade version >:( --- build.gradle | 2 +- src/main/java/com/nextplugins/economy/NextEconomy.java | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/build.gradle b/build.gradle index f8b1808c..ef288ed5 100644 --- a/build.gradle +++ b/build.gradle @@ -7,7 +7,7 @@ plugins { } group 'com.nextplugins' -version '2.1.0' +version '2.0.3' tasks.build.dependsOn('shadowJar') diff --git a/src/main/java/com/nextplugins/economy/NextEconomy.java b/src/main/java/com/nextplugins/economy/NextEconomy.java index 09c22ac7..15b9fb3e 100644 --- a/src/main/java/com/nextplugins/economy/NextEconomy.java +++ b/src/main/java/com/nextplugins/economy/NextEconomy.java @@ -87,7 +87,6 @@ public final class NextEconomy extends JavaPlugin { @Override public void onLoad() { - saveDefaultConfig(); npcFile = new File(getDataFolder(), "npcs.yml"); @@ -142,7 +141,6 @@ public void onEnable() { ConversorRegistry.of(this).register(); Bukkit.getScheduler().runTaskLater(this, () -> { - PlaceholderRegistry.of(this).register(); CustomRankingRegistry.of(this).register(); ListenerRegistry.of(this).register(); @@ -160,7 +158,6 @@ public void onEnable() { skinsRestorerManager.init(); purgeBackups(); - }, 150L); loadTime.stop(); @@ -242,7 +239,6 @@ private void purgeBackups() { getLogger().warning("Não foi possível apagar o backup " + file.getName() + "."); } } catch (Exception exception) { - continue; } } }