Remove useless clone calls

This commit is contained in:
Ghost_chu committed 2021-07-28 01:11:40 +08:00
1 parent c1aca28134
commit a28c55fe1e
1 file changed
+1 -1
@@ -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) {