mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-03 14:38:53 +00:00
fix: economy checks being used even if no hook loaded
This commit is contained in:
4 files changed
+17
-4
No files matched your search
@@ -163,7 +163,7 @@ public class BukkitHuskHomes extends JavaPlugin implements HuskHomes, BukkitTask
|
||||
() -> getSettings().getDatabase().getType().getDisplayName())
|
||||
);
|
||||
metrics.addCustomChart(new SimplePie("using_economy",
|
||||
() -> Boolean.toString(getSettings().getEconomy().isEnabled()))
|
||||
() -> Boolean.toString(isUsingEconomy()))
|
||||
);
|
||||
metrics.addCustomChart(new SimplePie("using_map",
|
||||
() -> Boolean.toString(getSettings().getMapHook().isEnabled()))
|
||||
|
||||
Reference in new issue
Block a user