9
0
mirror of https://github.com/Auxilor/EcoArmor.git synced 2025-12-28 11:29:18 +00:00

Fixed default tiers

This commit is contained in:
Auxilor
2021-07-04 13:12:06 +02:00
parent 371d377d07
commit 6e07b9cae3

View File

@@ -86,6 +86,7 @@ public class EcoArmorPlugin extends EcoPlugin {
public void onReload() {
Effects.values().forEach(effect -> this.getEventManager().unregisterListener(effect));
Effects.values().stream().filter(Effect::isEnabled).forEach(effect -> this.getEventManager().registerListener(effect));
this.getLogger().info(Tiers.values().size() + " Tiers Loaded");
this.getLogger().info(ArmorSets.values().size() + " Sets Loaded");
}