mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-01 22:16:08 +00:00
brackets now present
This commit is contained in:
1 parent
ca81999cb9
commit
5d0d6ff774
1 file changed
+2
-1
@@ -174,12 +174,13 @@ public class BukkitHuskHomes extends JavaPlugin implements HuskHomes {
|
||||
|
||||
// Register plugin hooks (Economy, Maps, Plan)
|
||||
this.pluginHooks = new HashSet<>();
|
||||
if (settings.economy)
|
||||
if (settings.economy) {
|
||||
if (Bukkit.getPluginManager().getPlugin("RedisEconomy") != null) {
|
||||
pluginHooks.add(new RedisEconomyHook(this));
|
||||
} else if (Bukkit.getPluginManager().getPlugin("Vault") != null) {
|
||||
pluginHooks.add(new VaultEconomyHook(this));
|
||||
}
|
||||
}
|
||||
if (settings.doMapHook) {
|
||||
switch (settings.mappingPlugin) {
|
||||
case DYNMAP -> {
|
||||
|
||||
Reference in new issue
Block a user