From 392e9ea796a914ef862c5faa843ed8b0afd88acf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20K=C4=99dziora?= <77227023+Jakubk15@users.noreply.github.com> Date: Fri, 10 Jan 2025 21:37:21 +0100 Subject: [PATCH] Prevent redundant delay marking when looping through items --- .../eternalcode/core/feature/essentials/item/RepairCommand.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/eternalcore-core/src/main/java/com/eternalcode/core/feature/essentials/item/RepairCommand.java b/eternalcore-core/src/main/java/com/eternalcode/core/feature/essentials/item/RepairCommand.java index e2440dd1b..7598ce8d9 100644 --- a/eternalcore-core/src/main/java/com/eternalcode/core/feature/essentials/item/RepairCommand.java +++ b/eternalcore-core/src/main/java/com/eternalcode/core/feature/essentials/item/RepairCommand.java @@ -101,8 +101,6 @@ void repairAll(@Context Player player) { exists = true; this.repairItem(itemStack); - - this.delay.markDelay(uuid, this.config.repair.repairDelay()); } if (!exists) {