Skip to content

Commit 4a80fe4

Browse files
committed
remove unused code
1 parent 73390ca commit 4a80fe4

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/main/java/pro/cloudnode/smp/bankaccounts/integrations/VaultIntegration.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
import net.milkbowl.vault.economy.Economy;
44
import net.milkbowl.vault.economy.EconomyResponse;
55
import org.bukkit.OfflinePlayer;
6-
import org.bukkit.plugin.RegisteredServiceProvider;
76
import org.bukkit.plugin.ServicePriority;
87
import org.jetbrains.annotations.NotNull;
98
import pro.cloudnode.smp.bankaccounts.Account;
@@ -28,8 +27,6 @@ public static void setup() {
2827
return;
2928
}
3029

31-
final @NotNull Optional<@NotNull RegisteredServiceProvider<@NotNull Economy>> rsp = Optional.ofNullable(BankAccounts.getInstance().getServer().getServicesManager().getRegistration(Economy.class));
32-
3330
try {
3431
BankAccounts.getInstance().getLogger().log(Level.INFO, "Vault found. Enabling integration.");
3532
BankAccounts.getInstance().getServer().getServicesManager().register(Economy.class, new VaultEconomyProvider(), BankAccounts.getInstance(), ServicePriority.High);

0 commit comments

Comments
 (0)