From f4dfc18f90a07d375481136473746ced033d0dc5 Mon Sep 17 00:00:00 2001
From: IdiNium <47635037+idinium96@users.noreply.github.com>
Date: Wed, 20 Jul 2022 16:47:31 +0800
Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=AE=20remove=20unnecessary=20operation?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 src/classes/Pricelist.ts | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/src/classes/Pricelist.ts b/src/classes/Pricelist.ts
index 4ee46f567..3596828d8 100644
--- a/src/classes/Pricelist.ts
+++ b/src/classes/Pricelist.ts
@@ -650,10 +650,7 @@ export default class Pricelist extends EventEmitter {
 
         await this.validateEntry(entry, src, isBulk);
 
-        // Remove old price
-        await this.removePrice(priceKey, false);
-
-        // Add new price
+        // Update to new price
         this.prices[priceKey] = entry;
 
         if (emitChange) {