mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-01 22:16:08 +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 {
|
||||
RedisEconomyAPI api = RedisEconomyAPI.getAPI();
|
||||
if (api != null) {
|
||||
economy = api.getCurrencyByName(plugin.getSettings().redis_economy_name);
|
||||
economy = api.getCurrencyByName(plugin.getSettings().redisEconomyName);
|
||||
if (economy != null) {
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -217,7 +217,7 @@ public class Settings {
|
||||
|
||||
@YamlComment("Use this currency for payments (works only with RedisEconomy), defaults to Vault currency")
|
||||
@YamlKey("economy.redis_economy_name")
|
||||
public String redis_economy_name = "vault";
|
||||
public String redisEconomyName = "vault";
|
||||
|
||||
@YamlKey("economy.free_home_slots")
|
||||
public int freeHomeSlots = 5;
|
||||
|
||||
Reference in new issue
Block a user