Clean up codes

Former-commit-id: 1435100918acf1815f567bcc0d89df0722f5db1e [formerly cc87dbc1a9e1468a78145268c2622f128d705d06]
Former-commit-id: a92ca533e0a02ed7b2f1d2fb06f01f53edadd49d
This commit is contained in:
Ghost_chu committed 2019-05-25 20:29:02 +08:00
1 parent 1cf5b9c38a
commit b221e49bb5
2 files changed
+4 -5

No files matched your search

@@ -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())
@@ -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()) {