You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (!Objects.requireNonNull(vault.getVault()).hasAccount(tax)) {
448
-
try {
449
-
Util.debugLog("Tax account not exists! Creating...");
450
-
getLogger().warning("QuickShop detected tax account not exists, we're trying to create one. If you see any errors, please change tax-account in config.yml to server owner in-game username");
451
-
if (vault.getVault().createPlayerAccount(tax)) {
452
-
getLogger().info("Tax account created.");
453
-
} else {
454
-
getLogger().warning("Cannot to create tax-account, please change tax-account in config.yml to server owner in-game username");
455
-
}
456
-
} catch (Exceptionignored) {
457
-
}
458
-
if (!vault.getVault().hasAccount(tax)) {
459
-
getLogger().warning("Tax account's player never played this server before, that may cause server lagg or economy system error, you should change that name. But if this warning not cause any issues, you can safety ignore this.");
444
+
Economy_Vaultvault = (Economy_Vault) core;
445
+
if (vault.isValid()) {
446
+
if (!Objects.requireNonNull(vault.getVault()).hasAccount(tax)) {
447
+
try {
448
+
Util.debugLog("Tax account not exists! Creating...");
449
+
getLogger().warning("QuickShop detected tax account not exists, we're trying to create one. If you see any errors, please change tax-account in config.yml to server owner in-game username");
450
+
if (vault.getVault().createPlayerAccount(tax)) {
451
+
getLogger().info("Tax account created.");
452
+
} else {
453
+
getLogger().warning("Cannot to create tax-account, please change tax-account in config.yml to server owner in-game username");
460
454
}
455
+
} catch (Exceptionignored) {
456
+
}
457
+
if (!vault.getVault().hasAccount(tax)) {
458
+
getLogger().warning("Tax account's player never played this server before, that may cause server lagg or economy system error, you should change that name. But if this warning not cause any issues, you can safety ignore this.");
0 commit comments