From a0fc451a24fc3774623e675ce2e410593a92bb04 Mon Sep 17 00:00:00 2001 From: Ghost_chu <30802565+Ghost-chu@users.noreply.github.com> Date: Sat, 28 Dec 2019 18:05:01 +0800 Subject: [PATCH] ops ops Former-commit-id: 83cb2a30fe04063f3767ce17a06e514666e3f978 --- .../maxgamer/quickshop/Listeners/ShopProtectionListener.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/org/maxgamer/quickshop/Listeners/ShopProtectionListener.java b/src/main/java/org/maxgamer/quickshop/Listeners/ShopProtectionListener.java index 1d896c07d..b6eca4e19 100644 --- a/src/main/java/org/maxgamer/quickshop/Listeners/ShopProtectionListener.java +++ b/src/main/java/org/maxgamer/quickshop/Listeners/ShopProtectionListener.java @@ -35,6 +35,7 @@ import org.jetbrains.annotations.NotNull; import org.maxgamer.quickshop.QuickShop; import org.maxgamer.quickshop.Shop.Shop; import org.maxgamer.quickshop.Util.MsgUtil; +import org.bukkit.inventory.*; import java.util.HashMap; import java.util.List; @@ -159,7 +160,7 @@ public class ShopProtectionListener implements Listener { return; } - final Shop shop = plugin.getShopManager().getShopIncludeAttached(loc) + final Shop shop = plugin.getShopManager().getShopIncludeAttached(loc); if (shop == null) { return;