Deprecated

Former-commit-id: f9db54c2f8ef02a0bff2a0a09d4830bd9cbf474f
This commit is contained in:
Ghost_chu committed 2020-12-06 17:13:20 +08:00
1 parent 039be1f35d
commit 4d008f35bc
1 file changed
+4 -1
@@ -645,7 +645,7 @@ public class ShopManager {
Bukkit.getPluginManager().callEvent(se);
shop.setSignText(); // Update the signs count
}
@Deprecated
public void actionBuy(@NotNull Player p, @NotNull Economy eco, @NotNull Info info, @NotNull Shop shop, int amount) {
actionBuy(p.getUniqueId(), p.getInventory(), eco, info, shop, amount);
// if (shopIsNotValid(p, info, shop)) {
@@ -717,6 +717,7 @@ public class ShopManager {
// shop.setSignText(); // Update the signs count
}
@Deprecated
public double getTax(@NotNull Shop shop, @NotNull Player p) {
return getTax(shop, p.getUniqueId());
}
@@ -909,6 +910,7 @@ public class ShopManager {
}
}
@Deprecated
public void actionSell(@NotNull Player p, @NotNull Economy eco, @NotNull Info info, @NotNull Shop
shop, int amount) {
actionSell(p.getUniqueId(), p.getInventory(), eco, info, shop, amount);
@@ -1071,6 +1073,7 @@ public class ShopManager {
}
@Deprecated
private boolean shopIsNotValid(@Nullable Player p, @NotNull Info info, @NotNull Shop shop) {
if (plugin.getEconomy() == null) {