diff --git a/src/main/java/org/maxgamer/quickshop/Shop/DisplayItem.java b/src/main/java/org/maxgamer/quickshop/Shop/DisplayItem.java index 9cdb5aa06..f0ad8df33 100644 --- a/src/main/java/org/maxgamer/quickshop/Shop/DisplayItem.java +++ b/src/main/java/org/maxgamer/quickshop/Shop/DisplayItem.java @@ -36,13 +36,15 @@ public interface DisplayItem { if (iMeta.hasDisplayName()) { if (iMeta.getDisplayName().toLowerCase().contains("quickshop displayitem")) { return true; + }else{ + return false; } } if (!iMeta.hasLore()) { return false; } List lores = iMeta.getLore(); - Gson gson = new Gson(); + Gson gson = new Gson(); for (String lore : lores) { try { ShopProtectionFlag shopProtectionFlag = gson.fromJson(lore, ShopProtectionFlag.class);