From 4d008f35bcd68b0abbcd050eec2eaf0e44e40db0 Mon Sep 17 00:00:00 2001 From: Ghost_chu <2908803755@qq.com> Date: Sun, 6 Dec 2020 17:13:20 +0800 Subject: [PATCH] Deprecated Former-commit-id: f9db54c2f8ef02a0bff2a0a09d4830bd9cbf474f --- src/main/java/org/maxgamer/quickshop/shop/ShopManager.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/main/java/org/maxgamer/quickshop/shop/ShopManager.java b/src/main/java/org/maxgamer/quickshop/shop/ShopManager.java index 4ac2359ee..974f8f0bf 100644 --- a/src/main/java/org/maxgamer/quickshop/shop/ShopManager.java +++ b/src/main/java/org/maxgamer/quickshop/shop/ShopManager.java @@ -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) {