From ae54f3869d3070634f1002cbf02d07c8ff6e1b9c Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Thu, 2 May 2024 15:44:19 +0200 Subject: [PATCH] code cleanup --- .../inventory/chocolatefactory/ChocolateFactoryDataLoader.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/at/hannibal2/skyhanni/features/inventory/chocolatefactory/ChocolateFactoryDataLoader.kt b/src/main/java/at/hannibal2/skyhanni/features/inventory/chocolatefactory/ChocolateFactoryDataLoader.kt index 969d396254cf..f4d921f8c383 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/inventory/chocolatefactory/ChocolateFactoryDataLoader.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/inventory/chocolatefactory/ChocolateFactoryDataLoader.kt @@ -261,11 +261,11 @@ object ChocolateFactoryDataLoader { ChocolateFactoryAPI.clickRabbitSlot = null for ((slotIndex, item) in inventory) { - processInventory(item, slotIndex) + processItem(item, slotIndex) } } - private fun processInventory(item: ItemStack, slotIndex: Int) { + private fun processItem(item: ItemStack, slotIndex: Int) { if (config.rabbitWarning && clickMeRabbitPattern.matches(item.name)) { SoundUtils.playBeepSound() ChocolateFactoryAPI.clickRabbitSlot = slotIndex