From 3ce11b3d12422b571d6e9a7800f0147f4e391345 Mon Sep 17 00:00:00 2001 From: JaTiTV Date: Tue, 7 Jun 2022 06:01:12 +0200 Subject: [PATCH] Delete Vault.java --- .../t2code/lib/Spigot/Lib/vault/Vault.java | 38 ------------------- 1 file changed, 38 deletions(-) delete mode 100644 src/main/java/net/t2code/lib/Spigot/Lib/vault/Vault.java diff --git a/src/main/java/net/t2code/lib/Spigot/Lib/vault/Vault.java b/src/main/java/net/t2code/lib/Spigot/Lib/vault/Vault.java deleted file mode 100644 index 1a108d7..0000000 --- a/src/main/java/net/t2code/lib/Spigot/Lib/vault/Vault.java +++ /dev/null @@ -1,38 +0,0 @@ -package net.t2code.lib.Spigot.Lib.vault; - -import net.t2code.lib.Spigot.Lib.messages.send; -import net.t2code.lib.Spigot.system.Main; -import net.t2code.lib.Spigot.system.languages.SelectLibMsg; -import org.bukkit.Bukkit; -import org.bukkit.entity.Player; - -public class Vault { - - public static Boolean vaultEnable; - - public static boolean buy(String prefix, Player p, Double price) { - if (Main.eco == null) { - if (Bukkit.getPluginManager().getPlugin("Vault") == null) { - send.console(prefix + " §4\n" + prefix + " §4Vault could not be found! §9Please download it here: " + - "§6https://www.spigotmc.org/resources/vault.34315/§4\n" + prefix); - } - p.sendMessage(prefix + "\n" + SelectLibMsg.vaultNotSetUp + "\n" + prefix); - } else { - return Main.eco.withdrawPlayer(p,price).transactionSuccess(); - } - return false; - } - - public static boolean addMoney(String prefix, Player p, Double price) { - if (Main.eco == null) { - if (Bukkit.getPluginManager().getPlugin("Vault") == null) { - send.console(prefix + " §4\n" + prefix + " §4Vault could not be found! §9Please download it here: " + - "§6https://www.spigotmc.org/resources/vault.34315/§4\n" + prefix); - } - p.sendMessage(prefix + "\n" + SelectLibMsg.vaultNotSetUp + "\n" + prefix); - } else { - return Main.eco.depositPlayer(p,price).transactionSuccess(); - } - return false; - } -}