mirror of
https://github.com/ChestShop-authors/ChestShop-3.git
synced 2025-02-19 11:31:19 +01:00
Separate economy adapter from other dependencies in metrics
This commit is contained in:
parent
ed642ccf3c
commit
97ffc31d2b
@ -105,8 +105,7 @@ public class Dependencies implements Listener {
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
versions.put(plugin, Bukkit.getPluginManager().getPlugin(plugin).getDescription().getVersion());
|
ChestShop.getMetrics().addCustomChart(ChestShop.createStaticDrilldownStat("economyAdapter", plugin, Bukkit.getPluginManager().getPlugin(plugin).getDescription().getVersion()));
|
||||||
|
|
||||||
ChestShop.getMetrics().addCustomChart(ChestShop.createStaticDrilldownStat("economyPlugin", economy.getProviderInfo().getName(), economy.getProviderInfo().getVersion()));
|
ChestShop.getMetrics().addCustomChart(ChestShop.createStaticDrilldownStat("economyPlugin", economy.getProviderInfo().getName(), economy.getProviderInfo().getVersion()));
|
||||||
|
|
||||||
ChestShop.registerListener(economy);
|
ChestShop.registerListener(economy);
|
||||||
|
Loading…
Reference in New Issue
Block a user