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;