mirror of
https://github.com/Auxilor/EcoEnchants.git
synced 2024-11-25 15:35:11 +01:00
Remove reduntant reload
This commit is contained in:
parent
cd37c47ef7
commit
093f8926fe
@ -350,7 +350,7 @@ public class Loader {
|
|||||||
|
|
||||||
Bukkit.getLogger().info("Registering Enchantment Listeners...");
|
Bukkit.getLogger().info("Registering Enchantment Listeners...");
|
||||||
EcoEnchants.getAll().forEach((ecoEnchant -> {
|
EcoEnchants.getAll().forEach((ecoEnchant -> {
|
||||||
if(!ecoEnchant.isEnabled()) {
|
if(ecoEnchant.isEnabled()) {
|
||||||
Bukkit.getPluginManager().registerEvents(ecoEnchant, EcoEnchantsPlugin.getInstance());
|
Bukkit.getPluginManager().registerEvents(ecoEnchant, EcoEnchantsPlugin.getInstance());
|
||||||
}
|
}
|
||||||
}));
|
}));
|
||||||
@ -416,15 +416,6 @@ public class Loader {
|
|||||||
Bukkit.getLogger().info("----------------------------");
|
Bukkit.getLogger().info("----------------------------");
|
||||||
});
|
});
|
||||||
|
|
||||||
/*
|
|
||||||
Reload Data
|
|
||||||
*/
|
|
||||||
|
|
||||||
Bukkit.getScheduler().runTaskLater(EcoEnchantsPlugin.getInstance(), () -> {
|
|
||||||
Bukkit.getLogger().info("Reloading...");
|
|
||||||
CommandEcoreload.reload();
|
|
||||||
}, 2);
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Finish
|
Finish
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user