mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-03 14:38:53 +00:00
this is a war I'm going to win
This commit is contained in:
1 parent
1e4a1c1b01
commit
ca81999cb9
2 files changed
+2
-2
No files matched your search
@@ -15,7 +15,7 @@ public class RedisEconomyHook extends VaultEconomyHook {
|
|||||||
public boolean initialize() throws HuskHomesInitializationException {
|
public boolean initialize() throws HuskHomesInitializationException {
|
||||||
RedisEconomyAPI api = RedisEconomyAPI.getAPI();
|
RedisEconomyAPI api = RedisEconomyAPI.getAPI();
|
||||||
if (api != null) {
|
if (api != null) {
|
||||||
economy = api.getCurrencyByName(plugin.getSettings().redis_economy_name);
|
economy = api.getCurrencyByName(plugin.getSettings().redisEconomyName);
|
||||||
if (economy != null) {
|
if (economy != null) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -217,7 +217,7 @@ public class Settings {
|
|||||||
|
|
||||||
@YamlComment("Use this currency for payments (works only with RedisEconomy), defaults to Vault currency")
|
@YamlComment("Use this currency for payments (works only with RedisEconomy), defaults to Vault currency")
|
||||||
@YamlKey("economy.redis_economy_name")
|
@YamlKey("economy.redis_economy_name")
|
||||||
public String redis_economy_name = "vault";
|
public String redisEconomyName = "vault";
|
||||||
|
|
||||||
@YamlKey("economy.free_home_slots")
|
@YamlKey("economy.free_home_slots")
|
||||||
public int freeHomeSlots = 5;
|
public int freeHomeSlots = 5;
|
||||||
|
|||||||
Reference in new issue
Block a user