mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-04 22:16:22 +00:00
Updated RedisEconomy. (#340)
Co-authored-by: William <[email protected]>
This commit is contained in:
1 parent
6f321f3e89
commit
0a9bdb6c3b
1 file changed
+1
-1
@@ -13,7 +13,7 @@ public class RedisEconomyHook extends VaultEconomyHook {
|
||||
@Override
|
||||
public void initialize() {
|
||||
RedisEconomyAPI api = RedisEconomyAPI.getAPI();
|
||||
if (api != null) {
|
||||
if (api != null && !plugin.getSettings().getRedisEconomyName().equalsIgnoreCase("vault")) {
|
||||
economy = api.getCurrencyByName(plugin.getSettings().getRedisEconomyName());
|
||||
if (economy != null) {
|
||||
return;
|
||||
|
||||
Reference in new issue
Block a user