Skip to content

Commit f37ba3f

Browse files
committed
Fix: java.lang.NumberFormatException: For input string: "0.05"
1 parent a35ee27 commit f37ba3f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/maxgamer/quickshop/QuickShop.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,7 @@ public boolean loadEcon() {
434434
case VAULT:
435435
core = new Economy_Vault(this);
436436
Util.debugLog("Now using the Vault economy system.");
437-
if (getConfiguration().getOrDefault("tax", 0) > 0) {
437+
if (getConfiguration().getOrDefault("tax", 0.0d) > 0) {
438438
try {
439439
String taxAccount = getConfiguration().getOrDefault("tax-account", "tax");
440440
if (!taxAccount.isEmpty()) {

0 commit comments

Comments
 (0)