mirror of
https://github.com/EarthMC/QuickShop-Reremake.git
synced 2026-11-25 09:59:49 -05:00
Remove useless clone calls
This commit is contained in:
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) {
|
||||
|
||||
Reference in new issue
Block a user