From a28c55fe1eaef02a2b9fe56e8867ebcb8e3481a4 Mon Sep 17 00:00:00 2001 From: Ghost_chu <2908803755@qq.com> Date: Wed, 28 Jul 2021 01:11:40 +0800 Subject: [PATCH] Remove useless clone calls --- src/main/java/org/maxgamer/quickshop/shop/ContainerShop.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/maxgamer/quickshop/shop/ContainerShop.java b/src/main/java/org/maxgamer/quickshop/shop/ContainerShop.java index a7201e932..ba148d46f 100644 --- a/src/main/java/org/maxgamer/quickshop/shop/ContainerShop.java +++ b/src/main/java/org/maxgamer/quickshop/shop/ContainerShop.java @@ -735,7 +735,7 @@ public class ContainerShop implements Shop { int unlimited = this.isUnlimited() ? 1 : 0; try { plugin.getDatabaseHelper() - .updateShop(ShopModerator.serialize(this.moderator.clone()), this.getItem(), + .updateShop(ShopModerator.serialize(this.moderator), this.getItem(), unlimited, shopType.toID(), this.getPrice(), x, y, z, world, this.saveExtraToYaml()); } catch (Exception e) {