aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2024-05-02 15:44:19 +0200
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2024-05-02 15:44:19 +0200
commitae54f3869d3070634f1002cbf02d07c8ff6e1b9c (patch)
treee589a2b35bfebafc83cc79bafaf8ac65fcb9a805 /src
parent76b523e1d947e69c5274c110fb32669b6d7b434c (diff)
downloadskyhanni-ae54f3869d3070634f1002cbf02d07c8ff6e1b9c.tar.gz
skyhanni-ae54f3869d3070634f1002cbf02d07c8ff6e1b9c.tar.bz2
skyhanni-ae54f3869d3070634f1002cbf02d07c8ff6e1b9c.zip
code cleanup
Diffstat (limited to 'src')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/inventory/chocolatefactory/ChocolateFactoryDataLoader.kt4
1 files 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 969d39625..f4d921f8c 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