mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-03 22:16:34 +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)
|
// Register plugin hooks (Economy, Maps, Plan)
|
||||||
this.pluginHooks = new HashSet<>();
|
this.pluginHooks = new HashSet<>();
|
||||||
if (settings.economy)
|
if (settings.economy) {
|
||||||
if (Bukkit.getPluginManager().getPlugin("RedisEconomy") != null) {
|
if (Bukkit.getPluginManager().getPlugin("RedisEconomy") != null) {
|
||||||
pluginHooks.add(new RedisEconomyHook(this));
|
pluginHooks.add(new RedisEconomyHook(this));
|
||||||
} else if (Bukkit.getPluginManager().getPlugin("Vault") != null) {
|
} else if (Bukkit.getPluginManager().getPlugin("Vault") != null) {
|
||||||
pluginHooks.add(new VaultEconomyHook(this));
|
pluginHooks.add(new VaultEconomyHook(this));
|
||||||
}
|
}
|
||||||
|
}
|
||||||
if (settings.doMapHook) {
|
if (settings.doMapHook) {
|
||||||
switch (settings.mappingPlugin) {
|
switch (settings.mappingPlugin) {
|
||||||
case DYNMAP -> {
|
case DYNMAP -> {
|
||||||
|
|||||||
Reference in new issue
Block a user