diff --git a/src/main/java/org/maxgamer/quickshop/Shop/Info.java b/src/main/java/org/maxgamer/quickshop/Shop/Info.java index 7dfb9e3a1..046371f93 100644 --- a/src/main/java/org/maxgamer/quickshop/Shop/Info.java +++ b/src/main/java/org/maxgamer/quickshop/Shop/Info.java @@ -31,7 +31,7 @@ public class Info { } /** * Get shop is or not has changed. - * @param Shop shop, The need checked with this shop. + * @param shop, The need checked with this shop. * */ public boolean hasChanged(Shop shop) { if (this.shop.isUnlimited() != shop.isUnlimited()) diff --git a/src/main/java/org/maxgamer/quickshop/Shop/InventoryPreview.java b/src/main/java/org/maxgamer/quickshop/Shop/InventoryPreview.java index 96f3a2385..56072a4a7 100644 --- a/src/main/java/org/maxgamer/quickshop/Shop/InventoryPreview.java +++ b/src/main/java/org/maxgamer/quickshop/Shop/InventoryPreview.java @@ -14,12 +14,11 @@ import org.maxgamer.quickshop.Util.MsgUtil; public class InventoryPreview implements Listener { - ItemStack itemStack; - Inventory inventory; - Player player; + private ItemStack itemStack; + private Inventory inventory; + private Player player; public InventoryPreview(ItemStack itemStack,Player player) { - this.itemStack=itemStack.clone(); this.player=player; if(this.itemStack.getItemMeta().hasLore()) {