Skip to content

Commit

Permalink
code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
hannibal002 committed May 2, 2024
1 parent 76b523e commit ae54f38
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ae54f38

Please sign in to comment.