Skip to content

Commit

Permalink
Compile
Browse files Browse the repository at this point in the history
  • Loading branch information
MrIvanPlays committed Dec 6, 2021
1 parent e52ce78 commit 30b3d51
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@

package me.lokka30.treasury.plugin.bukkit;

import me.lokka30.treasury.api.economy.currency.conversion.CurrencyConverter;
import me.lokka30.treasury.api.economy.misc.EconomyAPIVersion;
import me.lokka30.treasury.plugin.bukkit.command.TreasuryCommand;
import me.lokka30.treasury.plugin.bukkit.vendor.BukkitVendor;
Expand Down Expand Up @@ -42,9 +41,6 @@ public class TreasuryBukkit extends JavaPlugin {
*/
@NotNull public static final EconomyAPIVersion ECONOMY_API_VERSION = EconomyAPIVersion.VERSION_1;

@NotNull private final CurrencyConverter currencyConverter = new CurrencyConverter();
@NotNull public CurrencyConverter getCurrencyConverter() { return currencyConverter; }

private BukkitTreasuryPlugin treasuryPlugin;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public void execute(@NotNull CommandSource sender, @NotNull String label, @NotNu
placeholder("api-version", provider.getSupportedAPIVersion()),
placeholder("supports-bank-accounts", Utils.getYesNoStateMessage(provider.hasBankAccountSupport())),
placeholder("supports-transaction-events", Utils.getYesNoStateMessage(provider.hasTransactionEventSupport())),
placeholder("primary-currency", provider.getPrimaryCurrency().getCurrencyName()))
placeholder("primary-currency", provider.getPrimaryCurrency().getPrimaryCurrencyName()))
);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public void phaseFail(@NotNull EconomyException exception) {
migration.debug(() -> String.format(
"Failed to recover from an issue transferring %s %s from %s, currency will be deleted!",
balance,
fromCurrency.getCurrencyName(),
fromCurrency.getPrimaryCurrencyName(),
fromAccount.getUniqueId()));
}));
});
Expand Down
3 changes: 1 addition & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,11 @@
<!-- Versions of the dependencies Treasury uses -->
<spigot.version>1.17.1-R0.1-SNAPSHOT</spigot.version>
<jetbrains.annotations.version>22.0.0</jetbrains.annotations.version>
<junit.version>4.13.1</junit.version>
<junit.version>5.8.2</junit.version>
<gson.version>2.8.0</gson.version>
<guava.version>21.0</guava.version>
<bstats.version>2.2.1</bstats.version>
<annotationconfig.version>2.1.0-SNAPSHOT</annotationconfig.version>
<junit.version>5.8.2</junit.version>
</properties>

<licenses>
Expand Down

0 comments on commit 30b3d51

Please sign in to comment.